THPDFViewer Highlights and Marquee Selection

Marks page regions without changing the PDF and converts interactive selections to PDF page coordinates

Declarations

function THPDFViewerModel.AddHighlightRegion(PageIndex: Integer; const PageRect: THPDFRectangle; Color: TColor= clYellow): Integer;
function THPDFViewerModel.RemoveHighlightRegion(Index: Integer): boolean;
procedure THPDFViewerModel.ClearHighlightRegions;

Highlights are Viewer state only and are not saved into the PDF