Class PdfLayoutPage
Normalized page with crop-box-relative, top-left-origin geometry.
Inherited Members
Namespace: DRIT.Document.Import.Pdf
Assembly: DRIT.Document.dll
Syntax
public sealed class PdfLayoutPage
Properties
CropBox
Gets the normalized PDF crop box used for coordinate mapping.
Declaration
public PdfRect CropBox { get; }
Property Value
| Type | Description |
|---|---|
| PdfRect |
Diagnostics
Gets the diagnostics collected while producing this result.
Declaration
public IReadOnlyList<PdfImportDiagnostic> Diagnostics { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<PdfImportDiagnostic> |
Height
Gets the height of the represented page or bounds in points.
Declaration
public double Height { get; }
Property Value
| Type | Description |
|---|---|
| double |
Id
Gets the stable identifier assigned to this layout item.
Declaration
public string Id { get; }
Property Value
| Type | Description |
|---|---|
| string |
MediaBox
Gets the source media-box dimensions in points.
Declaration
public PdfRect MediaBox { get; }
Property Value
| Type | Description |
|---|---|
| PdfRect |
PageNumber
Gets the one-based PDF page number associated with this result.
Declaration
public int PageNumber { get; }
Property Value
| Type | Description |
|---|---|
| int |
Primitives
Gets the normalized primitives emitted for the page.
Declaration
public IReadOnlyList<PdfLayoutPrimitive> Primitives { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<PdfLayoutPrimitive> |
Rotation
Gets the normalized clockwise page rotation in degrees.
Declaration
public int Rotation { get; }
Property Value
| Type | Description |
|---|---|
| int |
Width
Gets the width of the represented page or bounds in points.
Declaration
public double Width { get; }
Property Value
| Type | Description |
|---|---|
| double |