evCreate API 5.7 Help

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.

AddSpace(size: number): Promise<void>

Parameters

size: number

A 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 void if 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.

22 April 2025