Class PdfExtractionPage
Immutable page geometry and ordered content projection.
Inherited Members
Namespace: DRIT.Pdf.Extraction
Assembly: DRIT.Pdf.dll
Syntax
public sealed class PdfExtractionPage
Properties
Annotations
Annotation records in annotation collection order.
Declaration
public IReadOnlyList<PdfExtractionAnnotationRecord> Annotations { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<PdfExtractionAnnotationRecord> |
ArtBox
The page art box, defaulting to the crop box when absent.
Declaration
public PdfRect ArtBox { get; }
Property Value
| Type | Description |
|---|---|
| PdfRect |
BleedBox
The page bleed box, defaulting to the crop box when absent.
Declaration
public PdfRect BleedBox { get; }
Property Value
| Type | Description |
|---|---|
| PdfRect |
Content
Content records in source paint order.
Declaration
public IReadOnlyList<PdfExtractionContentRecord> Content { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<PdfExtractionContentRecord> |
ContentSourceIds
Source identifiers corresponding one-for-one with Content.
Declaration
public IReadOnlyList<string> ContentSourceIds { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
CoordinateMetadata
Alias for Coordinates.
Declaration
public PdfExtractionCoordinateMetadata CoordinateMetadata { get; }
Property Value
| Type | Description |
|---|---|
| PdfExtractionCoordinateMetadata |
Coordinates
Explicit page coordinate and rotation metadata.
Declaration
public PdfExtractionCoordinateMetadata Coordinates { get; }
Property Value
| Type | Description |
|---|---|
| PdfExtractionCoordinateMetadata |
CropBox
The page crop box in PDF user-space units.
Declaration
public PdfRect CropBox { get; }
Property Value
| Type | Description |
|---|---|
| PdfRect |
DisplaySize
Normalized display size after page rotation.
Declaration
public PdfSize DisplaySize { get; }
Property Value
| Type | Description |
|---|---|
| PdfSize |
Glyphs
All decoded glyph records in source paint order.
Declaration
public IReadOnlyList<PdfExtractionGlyphRecord> Glyphs { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<PdfExtractionGlyphRecord> |
Height
Media-box height in points.
Declaration
public double Height { get; }
Property Value
| Type | Description |
|---|---|
| double |
Index
Zero-based page index in source order.
Declaration
public int Index { get; }
Property Value
| Type | Description |
|---|---|
| int |
MediaBox
The page media box in PDF user-space units.
Declaration
public PdfRect MediaBox { get; }
Property Value
| Type | Description |
|---|---|
| PdfRect |
NormalizedMediaBox
Normalized media box after page rotation.
Declaration
public PdfRect NormalizedMediaBox { get; }
Property Value
| Type | Description |
|---|---|
| PdfRect |
OrderedContentSourceIds
Explicitly named alias for ContentSourceIds.
Declaration
public IReadOnlyList<string> OrderedContentSourceIds { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
PageTransform
Immutable page-to-display transform.
Declaration
public PdfExtractionMatrix PageTransform { get; }
Property Value
| Type | Description |
|---|---|
| PdfExtractionMatrix |
Rotate
Alias for Rotation matching the PDF page terminology.
Declaration
public int Rotate { get; }
Property Value
| Type | Description |
|---|---|
| int |
RotatedCropBox
Crop box after page rotation.
Declaration
public PdfRect RotatedCropBox { get; }
Property Value
| Type | Description |
|---|---|
| PdfRect |
RotatedMediaBox
Media box after page rotation.
Declaration
public PdfRect RotatedMediaBox { get; }
Property Value
| Type | Description |
|---|---|
| PdfRect |
Rotation
Page rotation in degrees as supplied by the page API.
Declaration
public int Rotation { get; }
Property Value
| Type | Description |
|---|---|
| int |
SourceId
Stable, projection-local page source identifier (for example, page-0).
Declaration
public string SourceId { get; }
Property Value
| Type | Description |
|---|---|
| string |
TrimBox
The page trim box, defaulting to the crop box when absent.
Declaration
public PdfRect TrimBox { get; }
Property Value
| Type | Description |
|---|---|
| PdfRect |
Width
Media-box width in points.
Declaration
public double Width { get; }
Property Value
| Type | Description |
|---|---|
| double |