Create Function
Creates a new rectangle item in an Envision document currently opened in the Canvas Envision Creator app.
Create(bounds: [[[EvRect|evrect-interface.html]]], zOrder?: [[[EvObjectZOrder|evobjectzorder-interface.html]]]): Promise<[[[EvItem|canvas-envision-document-items.html#object-items]]]>
Parameters
bounds: EvRectAn
EvRectobject, the position and size of the bounding box of the new rectangle item. The bounding box size defines the dimensions of the rectangle shape.zOrder?: EvObjectZOrderAn
EvObjectZOrderobject that includes:The layer item object of a layer in the current document where the new rectangle item should be added. The default value is the current layer on the current page.
The position of the new rectangle 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.
Return value
09 April 2025