CreateSimpleAuto Function
Creates an annotation with an autogenerated label value 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 new 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".type?: EvAnnotationAutoTypeA member of the
EvAnnotationAutoTypeenumeration, the type of the autogenerated label value of the new annotation.The default value is
"label".reset?: booleanA Boolean, a switch to indicate whether to reset (
true) or continue (false) the sequence of the autogenerated annotation labels.The default value is
false.This property is ignored for the
"label"annotation label type.