LocalHyperlink

Inheritance: java.lang.Object, com.aspose.pdf.Hyperlink

public final class LocalHyperlink extends Hyperlink

Represents local hyperlink object.

Constructors

Constructor Description
LocalHyperlink() Initializes a new instance of the LocalHyperlink class.
LocalHyperlink(BaseParagraph target) Initializes a new instance of the LocalHyperlink class.

Methods

Method Description
getTarget() Gets the target paragraph.
setTarget(BaseParagraph value) Sets the target paragraph.
getTargetPageNumber() Gets the target page number.
setTargetPageNumber(int value) Sets the target page number.
public LocalHyperlink()

Initializes a new instance of the LocalHyperlink class.

public LocalHyperlink(BaseParagraph target)

Initializes a new instance of the LocalHyperlink class.

Parameters:

Parameter Type Description
target BaseParagraph Target paragraph.

getTarget()

public BaseParagraph getTarget()

Gets the target paragraph.

Returns: BaseParagraph - BaseParagraph value

setTarget(BaseParagraph value)

public void setTarget(BaseParagraph value)

Sets the target paragraph.

Parameters:

Parameter Type Description
value BaseParagraph BaseParagraph value

getTargetPageNumber()

public int getTargetPageNumber()

Gets the target page number.

Returns: int - target page number.

setTargetPageNumber(int value)

public void setTargetPageNumber(int value)

Sets the target page number.

Parameters:

Parameter Type Description
value int target page number.