Persits Software, Inc. Web Site
 Navigator:  Home |  Object Reference |  PdfPages
PdfParam PdfPage
  PdfPages Object
PdfPages is a collection of PdfPage objects representing all pages in the document. The PdfPages object is used to retrieve, add and remove pages of the document. The object is obtainable via PdfDocument's Pages property. Implements IEnumerable.

Properties Methods
Count
this[]
Add
Remove

Properties


int Count (Read-only)

Returns the number of PdfPage objects in this collection.

PdfPage this [ int Index ] (Read-only)

This is the default parameterized property returning a PdfPage specified by a 1-based Index.

Methods

PdfPage Add ( )
PdfPage Add ( int InsertBefore )
PdfPage Add ( float Width, float Height )
PdfPage Add ( float Width, float Height, int InsertBefore )
Adds a new page to the document. Returns an instance of the PdfPage object representing the newly created page.

Width, Height - optionally specify the width and height (in default user units) of the page. By default, the page size is 612 x 792 which corresponds to 8.5" x 11".

InsertBefore is an optional 1-based index of a page before which the new page will be inserted. By default, the page is added to the end of the document.


void Remove ( int Index )
Removes a page specified by a 1-based Index.

PdfParam PdfPage
Search AspPDF.net

Newsletter Signup

Other Products
AspPDF
AspUpload
AspJpeg
AspEmail
AspEncrypt
AspGrid
AspUser
  This site is owned and maintained by Persits Software, Inc. Copyright © 2003 - 2014. All Rights Reserved.