Click or drag to resize

GM_LineStyle_t Class

This type is used to describe a style used for drawing a line feature and its label (if any)
Inheritance Hierarchy
SystemObject
  GlobalMapperGM_LineStyle_t

Namespace:  GlobalMapper
Assembly:  GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax
C#
public class GM_LineStyle_t

The GM_LineStyle_t type exposes the following members.

Constructors
  NameDescription
Public methodGM_LineStyle_t
Default Constructor for a line feature style
Top
Methods
  NameDescription
Public methodStatic memberAddCustomLineClass
Adds a new custom Line classification.
Public methodStatic memberGetLineFeatureClassDrawStyle
Sets the default drawing style to use for a given Line feature classification
Public methodStatic memberSelectLineStyle
Displays a dialog allowing the user to graphically select a line style (not available on WinCE)
Public methodStatic memberSetLineFeatureClassDrawStyle
Sets the default drawing style to use for a given line feature classification
Top
Fields
  NameDescription
Public fieldmBgPenColor
For double line pens, the color of the background line
Public fieldmBgPenWidth
For double line pens, the width of the background line; if bg width is > 0, then this is a double line style
Public fieldmDrawLabel
Render the label for this line if there is one
Public fieldmDrawLabelAlways
Render the label for this line even if it collides with another display label
Public fieldmDrawLabelOnLine
Render the label for this line (if any) directly on the line rather than offset from it
Public fieldmFixedWidthMeters
Fixed width in meters to use for pen (only used if mPenWidth is zero)
Public fieldmFont
Font to use to render label
Public fieldmLabelSegment
Segment number (1-based) on which to render label (use 0 to use default label placement)
Public fieldmPenColor
Color to use for pen
Public fieldmPenStyle
Pen style (i.e. solid, dash, etc.)
Public fieldmPenWidth
Width in pixels to draw pen in (set to 0 for fixed width lines)
Public fieldmReserved
Must be 0
Top
See Also