Pages Object (IPages Interface)
This object is a collection of document pages. Besides standard collection methods and properties, it contains the MoveById method that allows you to move pages in the document. To access the pages of the certain document use the Pages property of the corresponding Document object.
The Pages object is a so-called "connectable object". The methods of the Pages object report information about the collection modification through special outgoing interfaces. These interfaces are ICollectionEvents (for C++) and the dispinterface DICollectionEvents (for Visual Basic). It should be noted that Visual Basic users should not care for details of implementing event interfaces, as this development platform provides easy means for handling them.
Properties
Name | Type | Description |
---|---|---|
Count | Integer, read-only | Stores the number of elements in the collection. |
Element | Page, read-only | Provides access to a single element of the collection. |
Methods
Name | Description |
---|---|
Attach | Moves the specified page from one document to another. |
DeleteById | Removes an element with the specified identifier from the collection. |
Item | Provides access to a single element of the collection. |
MoveById | Moves an element to the specified position in the collection. |
Related objects
Samples
This method is used in the following code samples: Invoices Processing and Training.
See also
15.08.2023 13:19:30