Create Function
Creates a new line item with given coordinates of the endpoints in an Envision document currently opened in the Canvas Envision Creator app.
Parameters
start: EvCoord2DAn
EvCoord2Dtype alias, an array of the X and Y coordinates of the starting endpoint of the new line item.end: EvCoord2DAn
EvCoord2Dtype alias, an array of the X and Y coordinates of the ending endpoint of the new line item.zOrder?: EvObjectZOrderAn
EvObjectZOrderobject that includes:The layer item object of a layer in the current document where the new line item should be added. The default value is the current layer on the current page.
The position of the new line item 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.