 | PdfViewerGetSelectedRects(Int32) Method |
Get a collection of rectangles that represent the selected text on a specified page.
Namespace: Patagames.Pdf.Net.Controls.WinFormsAssembly: Patagames.Pdf.WinForms (in Patagames.Pdf.WinForms.dll) Version: 4.100.2704
Syntaxpublic List<Rectangle> GetSelectedRects(
int pageIndex
)
Public Function GetSelectedRects (
pageIndex As Integer
) As List(Of Rectangle)
public:
List<Rectangle>^ GetSelectedRects(
int pageIndex
)
member GetSelectedRects :
pageIndex : int -> List<Rectangle> public List<Rectangle> GetSelectedRects(
int pageIndex
)
function GetSelectedRects(pageIndex);
Parameters
- pageIndex Int32
- Zero-based index of a page.
Return Value
ListRectangleA collection of rectangles or an empty collection if the page does not contain selected text.
RemarksThe rectangles are given in the user control coordinate system.
See Also