Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

DynaPDF Manual - Page 604

Previous Page 603   Index   Next Page 605

Function Reference
Page 604 of 750
SetAnnotHighlightMode
Syntax:
LBOOL pdfSetAnnotHighlightMode(
const PPDF* IPDF,
// Instance pointer
UI32 Handle,
// Link annotation handle
THighlightMode Mode) // New highlight mode
The function sets or changes the highlight mode of a link annotation. The highlight mode is applied
when clicking with the mouse on the annotation. Only link annotations support a highlight mode.
However, setting the mode to other annotation types causes no error; the value will be ignored
instead.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetAnnotIcon
Syntax:
LBOOL pdfSetAnnotIcon(
const PPDF* IPDF, // Instance pointer
UI32 Handle,
// Text annotation handle
TAnnotIcon Icon)
// New icon
typedef enum
{
aiComment,
aiHelp,
aiInsert,
aiKey,
aiNewParagraph,
aiNote,
aiParagraph,
aiUserDefined // Not usable
}TAnnotIcon;
The function sets or changes the icon of a text annotation. The parameter Handle must be a valid
handle of a Text annotation. See also TextAnnot().
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: SetAnnotFlagsEx

Next topic: SetAnnotLineDashPattern