Accusoft.PdfXpress7.Net
TextMatchOptions Constructor(Int32,Int32,Int32,Int32,Boolean)




The beginning offset relative to the front of a page's text string to report a text match for.
The ending offset relative to the front of a page's text string to report a text match for.
The number of words to include before the matched text in the string returned by the TextMatch.WordsBefore property.
The number of words to include after the matched text in the string returned by the TextMatch.WordsAfter property.
Indicates whether the matched text and quadrilaterals reflect the characters in the specified character-index range or complete words overlapping the specified character-index range.
Initializes a new instance of the TextMatchOptions class with user-specified value.
Syntax
'Declaration
 
Public Function New( _
   ByVal beginTextOffset As Integer, _
   ByVal endTextOffset As Integer, _
   ByVal numberOfWordsBeforeMatchToReport As Integer, _
   ByVal numberOfWordsAfterMatchToReport As Integer, _
   ByVal returnCompleteWords As Boolean _
)
'Usage
 
Dim beginTextOffset As Integer
Dim endTextOffset As Integer
Dim numberOfWordsBeforeMatchToReport As Integer
Dim numberOfWordsAfterMatchToReport As Integer
Dim returnCompleteWords As Boolean
 
Dim instance As New TextMatchOptions(beginTextOffset, endTextOffset, numberOfWordsBeforeMatchToReport, numberOfWordsAfterMatchToReport, returnCompleteWords)

Parameters

beginTextOffset
The beginning offset relative to the front of a page's text string to report a text match for.
endTextOffset
The ending offset relative to the front of a page's text string to report a text match for.
numberOfWordsBeforeMatchToReport
The number of words to include before the matched text in the string returned by the TextMatch.WordsBefore property.
numberOfWordsAfterMatchToReport
The number of words to include after the matched text in the string returned by the TextMatch.WordsAfter property.
returnCompleteWords
Indicates whether the matched text and quadrilaterals reflect the characters in the specified character-index range or complete words overlapping the specified character-index range.
See Also

Reference

TextMatchOptions Class
TextMatchOptions Members
Overload List

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback