Click or drag to resize

GM_AddCustomLineClass

Adds a new custom line classification.

Syntax
GM_Error_t32 __stdcall GM_AddCustomLineClass
(
const char*             aName,              // IN: Custom type name
const GM_LineStyle_t*   aStyle,             // IN: Default draw style for features of this type
LineFeatureClass_t16*   aFeatureCode        // OUT: Classification code for new type
);
Remarks

If this function succeeds, the new feature classification code will be returned in the aFeatureCode value. This code can then be used as the feature classification for line features.