Represents a collection of DocumentPage objects.
DocumentPages manages the pages of the document. It can be accessed through the Pages property of Document.
DocumentPages derives from LeadCollection<T> and thus can implement [System.Collections.ObjectModel.Collection1](https://msdn.microsoft.com/en-us/library/System.Collections.ObjectModel.Collection
1.aspx). You can use any
of the collection methods to add, remove, insert, get, set and iterate through the pages.
As well as the collection support, DocumentPages has the following:
CreatePage: The only way supported for creating new DocumentPage objects since the constructor of this class is not accessible.
DefaultPageSize: The default size of pages with no images.
DefaultResolution: The default resolution (DPI) of new pages with no images.
DocumentPage instances that belong to a source document can be added to a target (virtual) document at will. This allows the user to create a document that contain pages from various other documents in any order or number desired. When such pages are added to or removed from a DocumentPages collection, the DocumentDocuments collection in the target document will be updated to contain all the various child (source) documents owning the source pages.
For an example, refer to Document.
Products |
Support |
Feedback: DocumentPages Class - Leadtools.Documents |
Introduction |
Help Version 19.0.2017.3.22
|