SelectByStructAsync Method

PDFTron SilverDox SDK

Collapse imageExpand ImageCopy imageCopyHover image
Performs structural text selection. Which text is selected is determined using both the input selection points (specified by the two Point arguments) and the layout of the text.

Namespace: PDFTron.SilverDox.Documents.Text
Assembly: SilverDox (in SilverDox.dll) Version: 1.2.4413.29010

Syntax

C#
public void SelectByStructAsync(
	int pageNumber,
	Point startPoint,
	Point endPoint,
	Action<TextSelector..::..OnTextSelectionAsyncCallbackArgs> onTextSelectionAsyncCallback
)
Visual Basic
Public Sub SelectByStructAsync ( _
	pageNumber As Integer, _
	startPoint As Point, _
	endPoint As Point, _
	onTextSelectionAsyncCallback As Action(Of TextSelector..::..OnTextSelectionAsyncCallbackArgs) _
)
Visual C++
public:
void SelectByStructAsync(
	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.

See Also