GraphicsOverlayShape.AddElement(String, Variable, Variable, Variable, String) Method

Top 

Description

Adds an annotation element to the shape using the DefaultColor and the element type specified by 'mode'.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

GraphicsOverlayShape.AddElement(

String mode,


Variable e1,


Variable e2,


Variable e3,


String annotationValue)

 

 

Arguments

mode


Description:

Determines if the specific coordinates represent a x-y-z coordinate or a ra-dec-radius coordinate. All coordinates are stored in Cartesian form regardless of how they are specified.

Valid Values:

Value

Label

"x-y-z"

x-y-z

"ra-dec-radius"

ra-dec-radius

 

 

 

e1


Description:

When the mode is 'x-y-z' this represents the x component of the position associated with this overlay element. When the mode is 'ra-dec-radius' this represents the right ascension of this overlay element. These coordinates are referenced from the fixed frame of the ReferenceObject of the GraphicsOverlay object.

 

 

e2


Description:

When the mode is 'x-y-z' this represents the y component of the position associated with this overlay element. When the mode is 'ra-dec-radius' this represents the declination of this overlay element. These coordinates are referenced from the fixed frame of the ReferenceObject of the GraphicsOverlay object.

 

 

e3


Description:

When the mode is 'x-y-z' this represents the z component of the position associated with this overlay element. When the mode is 'ra-dec-radius' this represents the radius of this overlay element. These coordinates are referenced from the fixed frame of the ReferenceObject of the GraphicsOverlay object.

 

 

annotationValue


Description:

The text of the annotation to add to the shape.

 

 

 

Syntax

myGraphicsOverlayShape1.AddElement(myString1, myVariable1, myVariable2, myVariable3, myString2);

 

 

See also

GraphicsOverlayShape Object

GraphicsOverlayShape.AddElement

Graphics Overlays Guide