ExplicitDestination
Overview
ExplicitDestination is a class in Aspose.PDF FOSS for .NET.
Inherits from: IAppointment.
Represents an explicit destination in a PDF document (e.g.
This class provides 4 methods for working with ExplicitDestination objects in .NET programs.
Available methods include: CreateDestination, ToString.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: Page, PageNumber, Type.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
PageNumber | int | Read | Target page number (1-based). |
Type | string | Read | The destination type name (Fit, XYZ, FitH, etc). |
Page | Page? | Read | The target page (API parity). |
Methods
| Signature | Description |
|---|---|
ToString() | Calls ToString on this ExplicitDestination instance. |
CreateDestination(pageNumber: int, type: ExplicitDestinationType, values: double[]) | Factory: create the concrete destination subclass for type on pageNumber. |
CreateDestination(page: Page, type: ExplicitDestinationType, values: double[]) | Factory: create the destination on page. |
CreateDestination(doc: Document, pageNumber: int, type: ExplicitDestinationType, values: double[]) | Factory: create the destination on pageNumber within doc. |