MarkerDialogΒΆ
Displays a dialog box to configure a marker object.
-
hMarker = MarkerDialog()
-
hMarker = MarkerDialog(hMarker)
-
hMarker = MarkerDialog(nStyle, rsSize, rvEdgeColorRGB, rvFillColorRGB, rsEdgeWidth)
Return Value
hMarker is the handle of the marker symbol. If the user selects the Cancel button hMarker is -1. If the marker cannot created, hMarker is 0.
Parameters
-
nStyle
nStyle is one of the following values:
Value Meaning - MS_PLUS
Plus sign - MS_CROSS
Cross - MS_SIMPLESTAR
Star - MS_CIRCLE
Circle - MS_RECTANGLE
Rectangle - MS_DIAMOND
Diamond - MS_TRIANGLE
Triangle - MS_TRIANGLE1
Triangle turned 90 degrees - MS_TRIANGLE2
Triangle turned 180 degrees - MS_TRIANGLE3
Triangle turned 270 degrees - MS_HOURGLASS
Hourglass (2 triangles) - MS_HOURGLASS1
Hourglass turned 90 degrees - MS_STAR
Star - MS_CIRCLEDOT
Circle with dot - MS_CIRCLEPLUS
Circle with Plus sign - MS_CIRCLECROSS
Circle with cross - MS_RECTDOT
Rectangle with dot - MS_RECTPLUS
Rectangle with plus sign - MS_RECTCROSS
Rectangle with cross - MS_NULL
Invisible Marker - MS_DOT
Smallest plotable point
-
rsSize
rsSize is the size of the symbol in centimeters.
-
rvEdgeColorRGB
rvEdgeColorRGB is a vector with 3 elements that sets the the symbol edge color:
Value Meaning rvEdgeColorRGB[1] Red (0 to 255) rvEdgeColorRGB[2] Green (0 to 255) rvEdgeColorRGB[3] Blue (0 to 255)
-
rvFillColorRGB
rvFillColorRGB is a vector with 3 elements that sets the the symbol fill color:
Value Meaning rvFillColorRGB[1] Red (0 to 255) rvFillColorRGB[2] Green (0 to 255) rvFillColorRGB[3] Blue (0 to 255)
-
rsEdgeWidth
rsEdgeWidth is the edge width of the symbol in steps of 0.1 mm.
See also
Overview Marker, MarkerCreate, MarkerDestroy, XYSetMarker, XYZSetMarker
id-1028881