pdfSetAnnotHighlightMode
Set a per-annotation /H mouse-down highlight mode
C
BOOL32 __stdcall pdfSetAnnotHighlightMode(PPDF IPDF, uint32_t Handle, THighlightMode Mode);
Delphi
function pdfSetAnnotHighlightMode(const IPDF: PPDF; Handle: Cardinal; Mode: THighlightMode): LongBool; stdcall;
Purpose. Set a per-annotation /H mouse-down highlight mode (None/Invert/Outline/Push) — the annotation-level counterpart of pdfSetLinkHighlightMode's document-global default (Links).
Return value. True if Handle resolves; False otherwise.
See also. pdfSetLinkHighlightMode.
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Annotations
Category
Annotations
Exported names
pdfSetAnnotHighlightMode
String variants
The …A form takes UTF-8, …W
takes UTF-16; a bare name aliases the ANSI form.
See working code
Worked examples — complete programs in ten languages.