PdfPageGotoLinkContent.Destination


public final class PdfPageGotoLinkContent.Destination


Creates a new instance of PdfPageGotoLinkContent.Destination using the page number, x coordinate, and y coordinate of the destination where goto link is directing, and the zoom factor of the page when goto link takes to the destination

Note: Here (0,0) represents top-left corner of the page.

Summary

Public constructors

Destination(
    int pageNumber,
    float xCoordinate,
    float yCoordinate,
    float zoom
)

Public methods

final int

: Page number of the goto link Destination

final float

: X coordinate of the goto link Destination in points (1/ 72")

final float

: Y coordinate of the goto link Destination in points (1/ 72")

final float

: Zoom factor of the page when goto link takes to the destination

Public constructors

Destination

Added in 1.0.0-alpha10
public Destination(
    int pageNumber,
    float xCoordinate,
    float yCoordinate,
    float zoom
)
Parameters
int pageNumber

: Page number of the goto link Destination

float xCoordinate

: X coordinate of the goto link Destination in points (1/ 72")

float yCoordinate

: Y coordinate of the goto link Destination in points (1/ 72")

float zoom

: Zoom factor of the page when goto link takes to the destination

Public methods

getPageNumber

Added in 1.0.0-alpha10
public final int getPageNumber()

: Page number of the goto link Destination

getXCoordinate

Added in 1.0.0-alpha10
public final float getXCoordinate()

: X coordinate of the goto link Destination in points (1/ 72")

getYCoordinate

Added in 1.0.0-alpha10
public final float getYCoordinate()

: Y coordinate of the goto link Destination in points (1/ 72")

getZoom

Added in 1.0.0-alpha10
public final float getZoom()

: Zoom factor of the page when goto link takes to the destination