SetSize Function
Updates the width and height of a given page in an Envision document currently opened in the Canvas Envision Creator app.
SetSize(page: [[[EvItem|canvas-envision-document-items.html#page-items]]], width: number, height: number): Promise<void>
Parameters
page: EvItemA Page item object of a page in the Envision document currently opened in the Canvas Envision Creator app whose width or height should be updated.
width: numberA number, a new width of the given page in the length UoM global for the evCreate API.
height: numberA number, a new height of the given page in the length UoM global for the evCreate API.
Return value
Promise<void>A Promise that, if fulfilled, resolves to
voidif the given page in the current Envision document has been successfully resized.
13 March 2025