Error processing SSI file
LEADTOOLS Leadtools.Documents.UI (Leadtools.Documents.UI assembly)

Show in webframe

SelectedTextToReviewObject Method






1-based page number to use.
Annotation text review object to use as the target for selected text items. This must not be null.
Add the selected text items of page to a a text review object.
Syntax
public bool SelectedTextToReviewObject( 
   int pageNumber,
   AnnTextReviewObject textReviewObject
)
'Declaration
 
Public Function SelectedTextToReviewObject( _
   ByVal pageNumber As Integer, _
   ByVal textReviewObject As AnnTextReviewObject _
) As Boolean
'Usage
 
Dim instance As DocumentViewerAnnotations
Dim pageNumber As Integer
Dim textReviewObject As AnnTextReviewObject
Dim value As Boolean
 
value = instance.SelectedTextToReviewObject(pageNumber, textReviewObject)
public:
bool SelectedTextToReviewObject( 
   int pageNumber,
   AnnTextReviewObject^ textReviewObject
) 

Parameters

pageNumber
1-based page number to use.
textReviewObject
Annotation text review object to use as the target for selected text items. This must not be null.

Return Value

true if the method was successful and the selected text items where added to textReviewObject, otherwise; false.
Remarks

This method is called by the internal AnnTextReviewObject draw designer when the user creates a new text review object from the current selection.

This methods uses GetSelectedTextItems to get the rectangles of the selected text items and adds them to textReviewObject using SetRectangles.

If textReviewObject is not a child of the AnnContainer object associated with the page then it will be added to the Children collection. This operation will be wrapped by BeginUndo and EndUndo then textReviewObject will be selected by the automation using SelectObject.

This method fires the Operation event with DocumentViewerOperation.SelectedTextToReviewObject.

Requirements

Target Platforms

See Also

Reference

DocumentViewerAnnotations Class
DocumentViewerAnnotations Members

Error processing SSI file
Leadtools.Documents.UI requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features