# WMFFOREGND System Variable [GstarCAD 2022](Help%20System/GSTARCAD/2022/Index.md) → [System Variables](Help%20System/GSTARCAD/2022/System%20Variables/(System%20Variables).md) → [W](Help%20System/GSTARCAD/2022/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 can 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