Click or drag to resize

PdfViewerGetHighlightedRects Method

Get a collection of rectangles that represent the highlighted text on a specific page and in accordance with the specified HighlightInfo structure.

Namespace: Patagames.Pdf.Net.Controls.WinForms
Assembly: Patagames.Pdf.WinForms (in Patagames.Pdf.WinForms.dll) Version: 4.100.2704
Syntax
public List<Rectangle> GetHighlightedRects(
	int pageIndex,
	HighlightInfo selInfo
)

Parameters

pageIndex  Int32
Zero-based index of a page.
selInfo  HighlightInfo
A HighlightInfo structure that represent the highlighted text.

Return Value

ListRectangle
A collection of rectangles or an empty collection if the page does not contain highlighted text.
Remarks
The rectangles are given in the user control coordinate system.
See Also