public abstract class ExplicitDestination extends Object implements IAppointment
Represents the base class for explicit destinations in PDF document.
Modifier and Type | Method and Description |
---|---|
static ExplicitDestination |
createDestination(IDocument doc,
int pageNumber,
int type,
double... values)
Deprecated.
|
static ExplicitDestination |
createDestination(int pageNumber,
int type,
double... values)
Creates instances of ExplicitDestination descendant classes.
|
static ExplicitDestination |
createDestination(com.aspose.pdf.engine.data.IPdfArray engineDest)
Creates instance of ExplicitDestination descendant classes.
|
static ExplicitDestination |
createDestination(Page page,
int type,
double... values)
Creates instances of ExplicitDestination descendant classes.
|
Page |
getPage()
Gets the destination page object
|
int |
getPageNumber()
Gets the destination page number
|
abstract String |
toString()
Returns string representation of ExplicitDestination object.
|
public Page getPage()
Gets the destination page object
public int getPageNumber()
Gets the destination page number
public static ExplicitDestination createDestination(com.aspose.pdf.engine.data.IPdfArray engineDest)
Creates instance of ExplicitDestination descendant classes.
engineDest
- Engine destination object.public static ExplicitDestination createDestination(Page page, int type, double... values)
Creates instances of ExplicitDestination descendant classes.
page
- The object of destination page.type
- The type of explicit destination.values
- Array of double values.ExplicitDestinationType
@Deprecated public static ExplicitDestination createDestination(IDocument doc, int pageNumber, int type, double... values)
Creates instances of ExplicitDestination descendant classes.
doc
- Document where destination will be created.pageNumber
- Number of the page.type
- Destionatyion type.values
- Array of destination specific values.ExplicitDestinationType
public static ExplicitDestination createDestination(int pageNumber, int type, double... values)
Creates instances of ExplicitDestination descendant classes.
pageNumber
- The destination page number.type
- The type of explicit destination.values
- Array of double values.ExplicitDestinationType
public abstract String toString()
Returns string representation of ExplicitDestination object.
toString
in interface IAppointment
toString
in class Object