• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

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.

Inheritance
object
Destination
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
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
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX