LocalHyperlink

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

public final class LocalHyperlink extends Hyperlink

Represents local hyperlink object.

Constructors

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

Methods

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

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

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

ParameterTypeDescription
valueinttarget page number.