# WMFFOREGND System Variable [GstarCAD 2021](Help%20System/GSTARCAD/2021/Index.md) → [System Variables](Help%20System/GSTARCAD/2021/System%20Variables/(System%20Variables).md) → [W](Help%20System/GSTARCAD/2021/System%20Variables/W/(W).md) ## Function Description: The WMFFOREGND system variable is used to specify the foreground color when inserting an object as WMF format. | | | | --- | --- | | Type | Integer | | Saved in | Not saved | | Initial value | off | Users could use one of the following way to insert objects: Export WMF file by WMFOUT command Copy to clipboard and paste as WMF files Drag as WMF files The WMFFOREGND will be applied when WMFBKGND system variable is turned off. ## System Variable Value: **Off:** if necessary, exchange foreground color and background color to make sure that the foreground is darker than background color **On:** if necessary, exchange foreground color and background color to make sure that the foreground is brighter than background color --- ## Other versions with matching text [GstarCAD 2016](../../../2016/System%20Variables/W/WMFFOREGND%20System%20Variable.md) · [GstarCAD 2017](Help%20System/GSTARCAD/2017/System%20Variables/W/WMFFOREGND%20System%20Variable.md) · [GstarCAD 2018](Help%20System/GSTARCAD/2018/System%20Variables/W/WMFFOREGND%20System%20Variable.md) · [GstarCAD 2019](Help%20System/GSTARCAD/2019/System%20Variables/W/WMFFOREGND%20System%20Variable.md) · [GstarCAD 2020](Help%20System/GSTARCAD/2020/System%20Variables/W/WMFFOREGND%20System%20Variable.md)