Leadtools.Forms.DocumentReaders Namespace > DocumentReader Class : Pages Property |
public DocumentReaderPageCollection Pages {get;}
'Declaration Public ReadOnly Property Pages As DocumentReaderPageCollection
'Usage Dim instance As DocumentReader Dim value As DocumentReaderPageCollection value = instance.Pages
public DocumentReaderPageCollection Pages {get;}
get_Pages();
public: property DocumentReaderPageCollection^ Pages { DocumentReaderPageCollection^ get(); }
The value of Pages will be automatically populated with the pages collection after a DocumentReader is created.
Each item in the collection corresponds to a page in the PDF file. To the number of pages in the document is Pages.Count and the item at index 0 contains the properties of page 1, item at index 1 contains the properties of page 2 and so on.
The DocumentReaderPage class contains the physical and logical size of the page as well as its resolution and bits per pixel value.
DocumentReaderPageCollection is a read-only collection of DocumentReaderPage objects. The DocumentReader class is a read-only view of a document, you cannot insert or delete pages into this object.
For an example, refer to DocumentReader.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2