Description
Add an element to the current marker shape.
-
Return Type
-
None
-
Syntax
-
object.AddShapeElement Element, x1, y1, [x2], [y2]
The AddShapeElement Method syntax has these parts: |
| object | An expression evaluating to an object of type McGraphObjPoint. | | Element | Required. A mcGraphObjPointShapeElement enumeration, as described in settings. predefined element to add to this marker.
| | x1 | Required. A Single value. x coordinate of the first point.
| | y1 | Required. A Single value. y coordinate of the first point.
| | x2 | Optional. A Single value. x coordinate of the second point.
| | y2 | Optional. A Single value. y coordinate of the second point.
| Settings The settings for Element are:
 | mcgpsPixel | 1 |
Add a single pixel.
|
 | mcgpsLine | 2 |
Add a line.
|
 | mcgpsRect | 3 |
Add a rectangle.
|
 | mcgpsCircle | 4 |
Add a circle.
|
 | mcgpsPoly | 5 |
Add a polyline.
|
Remarks
The second point (x2,y2) is not required when adding a single point (mcgpsPixel). All coordinates are relative to the current position.
Exceptions
An assigned element must be one of the mcGraphObjPointShapeElement values
Notes
when displayed, the coordinates are scaled by the percentage given by the ScalePercent property.
|