HighlightRegionCount

Viewer interaction

Description

Returns the number of persistent highlight regions currently registered, added through AddHighlightRegion or vmHighlight drags

The count drops to 0 through ClearHighlightRegions and when the document closes

Syntax

Delphi

Function TPDFlibViewer.HighlightRegionCount: Integer;

Return values

IntegerNumber of persistent highlight regions

See also

TPDFlibViewer, AddHighlightRegion, ClearHighlightRegions, HighlightColor