SetBackgroundColor¶
- globalmapper.SetBackgroundColor(COLORREF aBgColor) COLORREF[source]¶
Sets the background color to use when drawing and exporting layers. The old background color is returned.
- Parameters:
aBgColor (COLORREF) – The new background color
- Returns:
The previous background color which was just replaced
- Return type:
COLORREF
Example¶
The following is an example of SetBackgroundColor.:
gm.SetBackgroundColor(gm.toRGB(165, 211, 235))
For more context refer to the display options/drawing sample scripts.