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

DynaPDF Manual - Page 680

Previous Page 679   Index   Next Page 681

Function Reference
Page 680 of 750
SetLinkHighlightMode
Syntax:
LBOOL pdfSetLinkHighlightMode(
const PPDF* IPDF,
// Instance pointer
THighlightMode Mode) // see below
typedef enum
{
hmNone,
// Default
hmInvert,
// Invert the contents of the annotation's bounding box
hmOutline, // Invert the annotations border
hmPush,
// Simulate a push button effect
hmPushUpd
// Update the appearance stream on changes
}THighlightMode;
The function sets the highlight mode that is used by link annotations. The highlight mode applies a
visual effect when moving the mouse over a link annotation.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetListFont
Syntax:
LBOOL pdfSetListFont(
const PPDF* IPDF, // Instance pointer
UI32 Handle)
// Font handle
The function marks an arbitrary font as list font. The font is used in WriteFText() when a list operator
was found. The symbol to be used as list symbol can be set with the list operator. See WriteFText()
for further information. The parameter Handle must be a valid font handle that was returned by
SetFont(), SetFontEx(), or LoadFont().
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: SetLineWidth

Next topic: SetMaxErrLogMsgCount