Constructor
new PDFLinkService(options)
Parameters:
- Implements:
- Source:
Members
externalLinkEnabled :boolean
Type:
- Implements:
- Source:
page :number
Type:
- Implements:
- Source:
page
- Implements:
- Source:
pagesCount :number
Type:
- Implements:
- Source:
rotation :number
Type:
- Implements:
- Source:
rotation
- Implements:
- Source:
Methods
Parameters:
Name |
Type |
Description |
pageNum |
number
|
page number. |
pageRef |
Object
|
reference to the page. |
- Implements:
- Source:
executeNamedAction(action)
Parameters:
Name |
Type |
Description |
action |
string
|
|
- Implements:
- Source:
getAnchorUrl(anchor) → {string}
Prefix the full url on anchor links to make sure that links are resolved
relative to the current URL instead of the one defined in .
Parameters:
Name |
Type |
Description |
anchor |
string
|
The anchor hash, including the #. |
- Implements:
- Source:
Returns:
The hyperlink to the PDF object.
-
Type
-
string
getDestinationHash(dest) → {string}
Parameters:
Name |
Type |
Description |
dest |
string
|
Array
|
The PDF destination object. |
- Implements:
- Source:
Returns:
The hyperlink to the PDF object.
-
Type
-
string
isPageVisible(pageNumber)
Parameters:
Name |
Type |
Description |
pageNumber |
number
|
|
- Implements:
- Source:
navigateTo(dest)
Parameters:
Name |
Type |
Description |
dest |
string
|
Array
|
The named, or explicit, PDF destination. |
- Implements:
- Source:
setHash(hash)
Parameters:
Name |
Type |
Description |
hash |
string
|
|
- Implements:
- Source: