Class Destination
A PDF destination (spec §12.3.2.2). Specifies a target page and a view (zoom/scroll position) for GoTo actions, link annotations, outlines, and open actions.
Inherited Members
Namespace: DRIT.Pdf
Assembly: DRIT.Pdf.dll
Syntax
public sealed class Destination
Properties
Args
View-type-specific arguments: FitWidth/FitHeight: [top] or [left]. FitRectangle: [left, bottom, right, top]. XYZ: [left, top, zoom].
Declaration
public double[] Args { get; set; }
Property Value
| Type | Description |
|---|---|
| double[] |
NamedDestination
Optional named destination string. When set, the destination is a named destination (/D string).
Declaration
public string? NamedDestination { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Page
The target page. Null for named destinations resolved by the viewer.
Declaration
public Page? Page { get; set; }
Property Value
| Type | Description |
|---|---|
| Page |
ViewType
The view type controlling zoom and scroll behaviour.
Declaration
public DestinationViewType ViewType { get; set; }
Property Value
| Type | Description |
|---|---|
| DestinationViewType |