←Select platform

Pages Property

Summary

Gets the collection of pages in this document reader.

Syntax

C#
VB
C++
public DocumentReaderPageCollection Pages { get; } 

Property Value

A collection of type DocumentReaderPage that contain an item for each page in the file associated with this DocumentReader object. Default value is null (Nothing in VB).

Remarks

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.

Example

For an example, refer to DocumentReader.

Requirements

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.DocumentReaders Assembly