







![]() ![]() |
PDFTron SilverDox SDK |
TextSelector..::..SelectByRectAsync Method |
TextSelector Class See Also Send Feedback |
Performs rectangular text selection. The selected text is what is found within the input selection points (specified by the two Point arguments), with whole words always selected.
Namespace: PDFTron.SilverDox.Documents.Text
Assembly: SilverDox (in SilverDox.dll) Version: 1.2.4413.29010
Syntax
C# |
---|
public void SelectByRectAsync( int pageNumber, Point startPoint, Point endPoint, Action<TextSelector..::..OnTextSelectionAsyncCallbackArgs> onTextSelectionAsyncCallback ) |
Visual Basic |
---|
Public Sub SelectByRectAsync ( _ pageNumber As Integer, _ startPoint As Point, _ endPoint As Point, _ onTextSelectionAsyncCallback As Action(Of TextSelector..::..OnTextSelectionAsyncCallbackArgs) _ ) |
Visual C++ |
---|
public: void SelectByRectAsync( int pageNumber, Point startPoint, Point endPoint, Action<TextSelector..::..OnTextSelectionAsyncCallbackArgs^>^ onTextSelectionAsyncCallback ) |
Parameters
- pageNumber
- Type: System..::..Int32
The page number of the Document on which to select text.
- startPoint
- Type: System.Windows..::..Point
The first point of the selection rectangle.
- endPoint
- Type: System.Windows..::..Point
The second point of the selection rectangle.
- onTextSelectionAsyncCallback
- Type: System..::..Action<(Of <(<'TextSelector..::..OnTextSelectionAsyncCallbackArgs>)>)>
The callback function that is called when the method returns.