Contains information about a page in the document.
The DocumentReaderPage class is used as the type of the DocumentReader.Pages collection.
The DocumentReader.Pages collection is automatically created when a new DocumentReader object is created with the DocumentReader.Create method. This collection is read-only and cannot be modified since the DocumentReader object is a read-only view of a document. Each item in the collection corresponding to a page in the document.
Each item in the Pages collection corresponds to a page in the document. So the item at index 0 contains the properties of page 1, the item at index 1 contains the properties of page 2 and so on. Even though the DocumentReaderPage class contains the PageNumber property that specifies the number of the page, this information is for convenience only, the DocumentReader creator or load method will always populate the collection in the correct order from the first page to the last page.
The DocumentReaderPage class contains the size of the page in logical units stored in the Size property, in inches. The size is read from the document directly. The page resolution is stored in the DpiX and DpiY. The physical size of the page is stored in PixelWidth and PixelHeight and the bits per pixel is stored in BitsPerPixel.
The total number of pages in the document is DocumentReader.Pages.Count.
You can get a raster image render of a page or its thumbnail by using the DocumentReader.ImageManager property.
You can get the text properties of a page such the characters, words, fonts and location information using the DocumentReader.ObjectManager property.
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
Products |
Support |
Feedback: DocumentReaderPage Class - Leadtools.Forms.DocumentReaders |
Introduction |
Help Version 19.0.2017.3.22
|