The size and the rotation of a PDF page, from
Pages.
Inheritance HierarchySystemObject
ExpertPdf.AnywherePdfPageInfo
Namespace: ExpertPdf.AnywhereAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
SyntaxThe PdfPageInfo type exposes the following members.
Properties| | Name | Description |
|---|
 | DisplayHeight |
The height of the visible area as the page is displayed: Width when the page is rotated by 90
or 270 degrees, else Height.
|
 | DisplayWidth |
The width of the visible area as the page is displayed: Height when the page is rotated by 90 or
270 degrees, else Width.
|
 | Height |
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.
|
 | MediaBoxHeight |
The height of the media box of the page (the whole page) in points.
|
 | MediaBoxWidth |
The width of the media box of the page (the whole page) in points.
|
 | PageNumber |
The number of the page (starting with 1).
|
 | Rotation |
The rotation of the page in degrees, clockwise, as displayed: 0, 90, 180 or 270.
|
 | Width |
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
RemarksThe 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