Represents a single page in a document.
A shape object always belongs to exactly one page and therefore references a single page object.
A shape tree object (a group of shapes) may span multiple pages. In such cases, it provides a sequence of page objects, where each entry represents a page containing shapes from the shape tree.
The document object also provides a sequence of page objects representing all pages in the document.
Use the sequence indexer [] (zero-based) to access a specific page within the sequence.
index (integer)
Returns the zero-based index of an individual page within the document.
Examples:
shape.page.index = 0
// finds all shapes on the first page of the document item.pages[0].index
// returns the index of the first page containing shapes from the shape tree document.pages[0].index
// returns 0
width, height (double)
These two properties return the width and height of the page, respectively, as double values.
Examples:
shape.page.width < 600 shape.page.height > 800 item.pages[0].width > 600 item.pages[3].height < 800 document.pages[0].width > 600 document.pages[10].height < 800
rotation (integer)
Returns the rotation of a page in degrees as a multiple of 90 (0, 90, 180, 270).
Examples:
shape.page.rotation = 180 item.pages[0].rotation = 270 document.pages[0].rotation = 90