GM_AreaStyle_tAddCustomBrushStyle Method
Adds a new custom brush style that can be used when drawing area features (see the GM_SetAreaFeatureDrawStyle function)

Namespace:  GlobalMapper
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)

Syntax
C#
public static GM_Error_t32 AddCustomBrushStyle(
	string aImageFilename,
	string aStyleName,
	out GM_BrushStyle_t16 aStyleVal
)

Parameters

aImageFilename
Type: SystemString
IN: Full path to image filename to use for custom fill pattern
aStyleName
Type: SystemString
IN: Text name to use when referring to the fill style
aStyleVal
Type: GlobalMapperGM_BrushStyle_t16
OUT: Value of created custom fill style

Return Value

Type: GM_Error_t32
A GM Error Code
See Also