DynaPDF Manual - Page 369

Previous Page 368   Index   Next Page 370

Function Reference
Page 369 of 839
Flag
Description
afNoView
(PDF 1.3) If set, do not display the annotation on the screen or allow it to
interact with the user. The annotation may be printed (depending on the
setting of the afPrint flag), but should be considered hidden for purposes
of on-screen display and user interaction.
afReadOnly
(PDF 1.3) If set, do not allow the annotation to interact with the user. The
annotation may be displayed or printed (depending on the settings of the
afNoView and afPrint flags), but should not respond to mouse clicks or
change its appearance in response to mouse motions.
GetAnnotLink
Syntax:
char* pdfGetAnnotLink(
const PPDF* IPDF, // Instance pointer
UI32 Handle)
// Annotation handle
This function returns the URL or file path of a file link annotation. The parameter AHandle must be a
valid handle of a file link, page link, or web link annotation. The return value is a pointer to the
original string value. The string must not be changed or freed within your application.
Remarks:
Imported file link or web link annotations are mostly defined as page link annotation because it is
impossible to distinguish between these types during import. Use the function FindLinkAnnot() if
you need to change an imported file link or web link annotation.
Return values:
If the function succeeds the return value is a pointer to the original string value. If the function fails
the return value is NULL.
 

Previous topic: GetAnnotFlags

Next topic: GetAnnotType