How to use OutlineNode.dest
?
#19421
Unanswered
arun-mani-j
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hii.
PDF document has something called
getOutline()
which returns an array ofOutlineNode
. This node has adest
property. Is there any guide on how to use it?The type hint says it is of type
string | Array:.<any:> | null
.doc.getDestination(node.dest)
, butgetDestination
returns an array ofany
ornull
. Is there any more information about this return value? I'm specifically interested in the page number and xy coordinates of the section.any
, what does it mean?Thank you!
Beta Was this translation helpful? Give feedback.
All reactions