Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

DynaPDF.SetAnnotHighlightMode

Sets or changes the highlight mode of a link annotation.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 5.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.SetAnnotHighlightMode"; PDF; AnnotationHandle; Mode )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
AnnotationHandle The annotation index. 5
Mode The new highlight mode. Can be None, Invert, Outline, Push or PushUpd. "Invert"

Result

Returns OK or error.

Description

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.

See also SetAnnotHighlightMode function in DynaPDF manual.

See also

This function checks for a license.

Created 25th November 2014, last changed 25th November 2014


DynaPDF.SetAnnotFlagsEx - DynaPDF.SetAnnotIcon