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

MethodDescription
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:

ParameterTypeDescription
engineDestIPdfArrayEngine 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:

ParameterTypeDescription
pagePageThe object of destination page.
typeintThe type of explicit destination.
valuesdouble[]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:

ParameterTypeDescription
docIDocumentDocument where destination will be created.
pageNumberintNumber of the page.
typeintDestionatyion type.
valuesdouble[]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:

ParameterTypeDescription
pageNumberintThe destination page number.
typeintThe type of explicit destination.
valuesdouble[]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