Click or drag to resize

PdfViewerGetSelectedRects(Int32) Method

Get a collection of rectangles that represent the selected text on a specified page.

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

Parameters

pageIndex  Int32
Zero-based index of a page.

Return Value

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