ExplicitDestination
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.pdf.IAppointment
public abstract class ExplicitDestination implements IAppointment
Represents the base class for explicit destinations in PDF document.
Methods
Method | Description |
---|---|
getPage() | Gets the destination page object |
getPageNumber() | Gets the destination page number |
createDestination(IPdfArray engineDest) | Creates instance of ExplicitDestination descendant classes. |
createDestination(Page page, int type, double[] values) | Creates instances of ExplicitDestination descendant classes. |
createDestination(IDocument doc, int pageNumber, int type, double[] values) | Creates instances of ExplicitDestination descendant classes. |
createDestination(int pageNumber, int type, double[] values) | Creates instances of ExplicitDestination descendant classes. |
toString() | Returns string representation of ExplicitDestination object. |
getPage()
public Page getPage()
Gets the destination page object
Returns: Page - Page object
getPageNumber()
public int getPageNumber()
Gets the destination page number
Returns: int - int value
createDestination(IPdfArray engineDest)
public static ExplicitDestination createDestination(IPdfArray engineDest)
Creates instance of ExplicitDestination descendant classes.
Parameters:
Parameter | Type | Description |
---|---|---|
engineDest | IPdfArray | Engine destination object. |
Returns: ExplicitDestination - DOM explicit destination object.
createDestination(Page page, int type, double[] values)
public static ExplicitDestination createDestination(Page page, int type, double[] values)
Creates instances of ExplicitDestination descendant classes.
Parameters:
Parameter | Type | Description |
---|---|---|
page | Page | The object of destination page. |
type | int | The type of explicit destination. |
values | double[] | Array of double values. |
Returns: ExplicitDestination - The explicit destination object.
createDestination(IDocument doc, int pageNumber, int type, double[] values)
public static ExplicitDestination createDestination(IDocument doc, int pageNumber, int type, double[] values)
Creates instances of ExplicitDestination descendant classes.
Parameters:
Parameter | Type | Description |
---|---|---|
doc | IDocument | Document where destination will be created. |
pageNumber | int | Number of the page. |
type | int | Destionatyion type. |
values | double[] | Array of destination specific values. |
Returns: ExplicitDestination - The explicit destination object.
createDestination(int pageNumber, int type, double[] values)
public static ExplicitDestination createDestination(int pageNumber, int type, double[] values)
Creates instances of ExplicitDestination descendant classes.
Parameters:
Parameter | Type | Description |
---|---|---|
pageNumber | int | The destination page number. |
type | int | The type of explicit destination. |
values | double[] | Array of double values. |
Returns: ExplicitDestination - The explicit destination object.
toString()
public abstract String toString()
Returns string representation of ExplicitDestination object.
Returns: java.lang.String - String representation