AddSpace Function
Explicitly adds empty vertical space below the last object item on the current page in an Envision document currently opened in the Canvas Envision Creator app during an active Vertical Layout session.
Parameters
size: numberA number, the height in pixels of the vertical space that should be explicitly added below the last object item on the current page in the Envision document currently opened in the Canvas Envision Creator app during an active Vertical Layout session.
Return value
Promise<void>A Promise that, if fulfilled, resolves to
voidif the vertical space has been successfully added below the last object item on the current page in the current document during an active Vertical Layout session.
Discussion
The function will throw an error if Vertical Layout mode has not been activated.
Once the vertical space is added explicitly, new object items will be added from it.