 | PdfViewerGetSelectedRects(Int32, SelectInfo) Method |
Get a collection of rectangles that represent the selected text on a specific page and in accordance with the specified
SelectInfo structure.
Namespace: Patagames.Pdf.Net.Controls.WinFormsAssembly: Patagames.Pdf.WinForms (in Patagames.Pdf.WinForms.dll) Version: 4.100.2704
Syntaxpublic List<Rectangle> GetSelectedRects(
int pageIndex,
SelectInfo selInfo
)
Public Function GetSelectedRects (
pageIndex As Integer,
selInfo As SelectInfo
) As List(Of Rectangle)
public:
List<Rectangle>^ GetSelectedRects(
int pageIndex,
SelectInfo selInfo
)
member GetSelectedRects :
pageIndex : int *
selInfo : SelectInfo -> List<Rectangle> public List<Rectangle> GetSelectedRects(
int pageIndex,
SelectInfo selInfo
)
function GetSelectedRects(pageIndex, selInfo);
Parameters
- pageIndex Int32
- Zero-based index of a page.
- selInfo SelectInfo
- ASelectInfo structure that represent the selected text.
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