Table of Contents

Class PdfDestination

Namespace
PDiffy
Assembly
PDiffy.dll

Where a link, bookmark or action goes: a page, the view a viewer opens it at (a PDF view type such as XYZ, Fit or FitH) and that view's positions in points, with null for a position the viewer keeps as it is. Name is set, and the rest empty, when the PDF names a destination it doesn't define.

public sealed record PdfDestination : IEquatable<PdfDestination>
Inheritance
PdfDestination
Implements
Inherited Members

Properties

Name

The name of a destination the PDF doesn't define, or one in another file.

public string? Name { get; init; }

Property Value

string

Page

The page, counted from 1; null when the PDF points at something that isn't a page.

public int? Page { get; init; }

Property Value

int?

Positions

The view's positions, such as the left and top of an XYZ view.

public IReadOnlyList<double?> Positions { get; init; }

Property Value

IReadOnlyList<double?>

View

The view type, such as XYZ (a position), Fit (the whole page) or FitH (the page's width). PdfDestinationViews lists them.

public string? View { get; init; }

Property Value

string

Zoom

An XYZ view's zoom, where 1 is 100%; null when the viewer keeps its zoom.

public double? Zoom { get; init; }

Property Value

double?