CreateSimpleLabel Function
Creates an annotation with an arbitrary label text in an Envision document currently opened in the Canvas Envision Creator app.
Parameters
startPt: EvCoord2DAn
EvCoord2Dtype alias, an array of the X and Y coordinates of the start position of the new annotation's leader line on the page.endPt: EvCoord2DAn
EvCoord2Dtype alias, an array of the X and Y coordinates of the end position of the new annotation's leader line on the page.zOrder?: EvObjectZOrderAn
EvObjectZOrderobject that includes:The layer item object of a layer in the current document where the new annotation should be added. The default value is the current layer on the current page.
The position of the new annotation in the stack of object items on the given layer. It is a zero-based index that is
0for the topmost object item on the layer and increases by1for each following object item going down the stack. The default value is0.
shape?: EvAnnotationShapeA member of the
EvAnnotationShapeenumeration, the shape of the label of the new annotation.The default value is
"no_shape".text?: stringA string, an arbitrary piece of text that the annotation label should display.
The default value is
"Label".