Class PdfPage
A class which represents one page of a PDF Document.
Implements
Namespace: IronPdf.Pages
Assembly: IronPdf.dll
Syntax
public class PdfPage : PdfClientAccessor, IPdfPage
Properties
Characters
A collection of all characters on this page and their position
Also see TextChunks and Lines
Declaration
public IDocumentCharCollection Characters { get; }
Property Value
Type | Description |
---|---|
IronSoftware.IDocumentCharCollection |
Height
Gets the height of the pdf page in mm.
Declaration
public double Height { get; }
Property Value
Type | Description |
---|---|
System.Double |
Lines
A collection of all lines of text on this page and their position
Declaration
public IDocumentTextObjectCollection Lines { get; }
Property Value
Type | Description |
---|---|
IronSoftware.IDocumentTextObjectCollection |
Remarks
Derived from TextChunks for your convenience
PageIndex
Gets the page index
Declaration
public int PageIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
PageRotation
Gets the page orientation.
Declaration
public PdfPageRotation PageRotation { get; set; }
Property Value
Type | Description |
---|---|
PdfPageRotation |
PrintHeight
Gets the height of the pdf page in printer points.
Declaration
public double PrintHeight { get; }
Property Value
Type | Description |
---|---|
System.Double |
PrintWidth
Gets the width of the pdf page in printer points.
Declaration
public double PrintWidth { get; }
Property Value
Type | Description |
---|---|
System.Double |
TextChunks
A collection of all text objects on this page and their position
The contents of each text object is rendered as a single unit
The contents of each text object share font, origin position, etc.
Also see Characters and Lines
Declaration
public IDocumentTextObjectCollection TextChunks { get; }
Property Value
Type | Description |
---|---|
IronSoftware.IDocumentTextObjectCollection |
Width
Gets the width of the pdf page in mm.
Declaration
public double Width { get; }
Property Value
Type | Description |
---|---|
System.Double |