globalmapper.SetLineFeatureClassDrawStyle

globalmapper.SetLineFeatureClassDrawStyle(LineFeatureClass_t16 aFeatureClass, GM_LineStyle_t aLineStyle) GM_Error_t32[source]

Sets the default style and font to use for drawing lines with the given line classification. Pass None for the line style to reset the default drawing style to the default style for that classification of line.

Typically, when modifying the drawing style of a line class you will want to call GetLineFeatureClassDrawStyle to get the current drawing style, then just change what you need, then pass your copy in to this function.

Parameters
  • aFeatureClass (LineFeatureClass_t16) – Feature class to set draw style for

  • aLineStyle (GM_LineStyle_t) – New style to use for line class (None to reset to default)

Returns

Error Code

Return type

GM_Error_t32