public final class LocalHyperlink extends Hyperlink
Represents local hyperlink object.
Constructor and Description |
---|
LocalHyperlink()
Initializes a new instance of the
LocalHyperlink class. |
LocalHyperlink(BaseParagraph target)
Initializes a new instance of the
LocalHyperlink class. |
Modifier and Type | Method and Description |
---|---|
BaseParagraph |
getTarget()
Gets the target paragraph.
|
int |
getTargetPageNumber()
Gets the target page number.
|
void |
setTarget(BaseParagraph value)
Sets the target paragraph.
|
void |
setTargetPageNumber(int value)
Sets the target page number.
|
setLinkElement
public LocalHyperlink()
Initializes a new instance of the LocalHyperlink
class.
public LocalHyperlink(BaseParagraph target)
Initializes a new instance of the LocalHyperlink
class.
target
- Target paragraph.public BaseParagraph getTarget()
Gets the target paragraph.
public void setTarget(BaseParagraph value)
Sets the target paragraph.
value
- BaseParagraph valuepublic int getTargetPageNumber()
Gets the target page number.
public void setTargetPageNumber(int value)
Sets the target page number.
value
- target page number.