PlanetPress Capture Library
|
This object is a collection of all the pages from a single document. More...
Public Member Functions | |
Integer | Add (Integer PageNumber, Single Width, Single Height, Integer Orientation) |
Adds a new page in the document's page list. | |
Public Attributes | |
IDocumentPage | Item |
Returns the page at index ItemIndex . | |
IDocumentPage | ItemByID |
Returns the page whose ID is ItemID . | |
integer | Count |
Number of pages in the collection. |
This object is a collection of all the pages from a single document.
Integer TDocumentPages::Add | ( | Integer | PageNumber, |
Single | Width, | ||
Single | Height, | ||
Integer | Orientation | ||
) |
Adds a new page in the document's page list.
PageNumber | 0-based number of the page. |
Width | Width of the page, in points. |
Height | Height of the page, in points. |
Orientation | Orientation of the page, where 0 is 0 degrees (portrait), 1 is 90 degrees counter-clockwise (landscape), 2 is 180 degrees (rotated portrait) or 3 is 90 degrees clockwise (rotated landscape). |
integer TDocumentPages::Count |
Number of pages in the collection.
IDocumentPage TDocumentPages::Item |
Returns the page at index ItemIndex
.
ItemIndex | Index of the DocumentPage object to retrieve. |
IDocumentPage TDocumentPages::ItemByID |
Returns the page whose ID is ItemID
.
ItemID | ID of the DocumentPage object to retrieve. |