LEADTOOLS PDF (Leadtools.Pdf assembly)
LEAD Technologies, Inc

Pages Property (PDFDocument)






Gets the collection of pages in this PDF document.
Syntax
public PDFDocumentPageCollection Pages {get;}
'Declaration
 
Public ReadOnly Property Pages As PDFDocumentPageCollection
'Usage
 
Dim instance As PDFDocument
Dim value As PDFDocumentPageCollection
 
value = instance.Pages
public PDFDocumentPageCollection Pages {get;}
 get_Pages(); 
public:
property PDFDocumentPageCollection^ Pages {
   PDFDocumentPageCollection^ get();
}

Property Value

A collection of type PDFDocumentPage that contain an item for each page in the PDF file associated with this PDFDocument object. Default value is null (Nothing in Visual Basic).
Remarks

The value of Pages will be automatically populated with the pages collection after a PDFDocument 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 is the properties of page 1, item at index 1 is the properties of page 2 and so on.

The PDFDocumentPage class contains the width and height of the page in PDF units which is read from the PDF file directly. PDF units are in 1/72 of an inch units, so a page size of 612 by 792 corresponds to 8.5 by 11 inches (612/72 by 792/72). For more information, refer to PDF Coordinate System.

PDFDocumentPageCollection is a read-only collection of PDFDocumentPage objects. The PDFDocument class is a read-only view of a PDF file, you cannot insert or delete pages into this object, instead, use the methods of the PDFFile class to achieve that.

To parse the objects of a PDF page, such as text items (characters), images, rectangles, fonts and hyperlinks, use the ParsePages method.

Example

For an example, refer to PDFDocument and PDFDocumentPage.

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

See Also

Reference

PDFDocument Class
PDFDocument Members
PDF Coordinate System

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.