# WMFFOREGND System Variable
[GstarCAD 2026](Help%20System/GSTARCAD/2026/Index.md) → [System Variables](Help%20System/GSTARCAD/2026/System%20Variables/(System%20Variables).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
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2026_en-US/detail/systemVariables/WMFFOREGND.html) · © Gstarsoft Co., Ltd.