Table of Contents

Interface IPdfDisplayList

Namespace
PdfEngine.Vector
Assembly
PdfEngine.Abstractions.dll

Immutable, device-independent display list representing all vector graphics on a PDF page. Replayable at any zoom level, DPI, or rotation transform.

public interface IPdfDisplayList

Properties

Commands

The drawing commands, in painting order.

IReadOnlyList<PdfDrawCommand> Commands { get; }

Property Value

IReadOnlyList<PdfDrawCommand>

CropBox

The crop box in PDF user space (points): the visible area of the page.

PdfRect CropBox { get; }

Property Value

PdfRect

FallbackTokens

The regions the engine could not express as vector commands, with the reason for each.

IReadOnlyList<PdfFallbackToken> FallbackTokens { get; }

Property Value

IReadOnlyList<PdfFallbackToken>

Features

The kinds of content found on the page.

PdfFeatureSet Features { get; }

Property Value

PdfFeatureSet

HasFallback

True when FallbackTokens is not empty.

bool HasFallback { get; }

Property Value

bool

MediaBox

The media box in PDF user space (points).

PdfRect MediaBox { get; }

Property Value

PdfRect

PageNumber

The page number, starting at 1.

int PageNumber { get; }

Property Value

int

PageSize

The page size in points, before the page's /Rotate is applied.

PdfSize PageSize { get; }

Property Value

PdfSize

RotationDegrees

The page's /Rotate value: 0, 90, 180 or 270 degrees clockwise.

int RotationDegrees { get; }

Property Value

int

Methods

ComputeFallbackAreaRatio()

The fraction of the crop box (0 to 1) that the fallback regions cover.

double ComputeFallbackAreaRatio()

Returns

double