Click or drag to resize

PdfPageInfo Class

The size and the rotation of a PDF page, from Pages.
Inheritance Hierarchy
SystemObject
  ExpertPdf.AnywherePdfPageInfo

Namespace: ExpertPdf.Anywhere
Assembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntax
public class PdfPageInfo

The PdfPageInfo type exposes the following members.

Properties
 NameDescription
Public propertyDisplayHeight The height of the visible area as the page is displayed: Width when the page is rotated by 90 or 270 degrees, else Height.
Public propertyDisplayWidth The width of the visible area as the page is displayed: Height when the page is rotated by 90 or 270 degrees, else Width.
Public propertyHeight The height of the visible area of the page (the crop box) in points. It is the height of the media box when the page has no crop box.
Public propertyMediaBoxHeight The height of the media box of the page (the whole page) in points.
Public propertyMediaBoxWidth The width of the media box of the page (the whole page) in points.
Public propertyPageNumber The number of the page (starting with 1).
Public propertyRotation The rotation of the page in degrees, clockwise, as displayed: 0, 90, 180 or 270.
Public propertyWidth The width of the visible area of the page (the crop box) in points. It is the width of the media box when the page has no crop box.
Top
Remarks
The sizes are in points (1/72 inch) and do not take the rotation into account: a landscape page stored as a rotated portrait page has a Width smaller than its Height and a Rotation of 90 or 270. DisplayWidth and DisplayHeight give the size of the page as a viewer shows it.
See Also