GM_Utility .AddCustomBrushStyle Method |
Adds a new custom brush style that can be used when drawing area features (see the GM_SetAreaFeatureDrawStyle function)
Namespace:GlobalMapper
Assembly: GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)

C#
Copy
public static GM_Error_t32 AddCustomBrushStyle(
string aImageFilename,
string aStyleName,
out GM_BrushStyle_t16 aStyleVal
)
Parameters
- aImageFilename
-
Type:
System
.
String
IN: Full path to image filename to use for custom fill pattern - aStyleName
-
Type:
System
.
String
IN: Text name to use when referring to the fill style - aStyleVal
-
Type:
GlobalMapper.Types.GM_BrushStyle_t16
OUT: Value of created custom fill style
Return Value
Type: GM_Error_t32A GM Error Code
