Indicates where to start finding text within the bounds of a Find Text operation.
Object.defineProperty(DocumentViewerFindText.prototype, 'start',
get: function(),
set: function(value)
)
start: DocumentViewerFindTextStart;
A number from DocumentViewerFindTextStart that indicates where the text search should start. The default value is DocumentViewerFindTextStart.BeginPosition, which creates one search starting from BeginPosition and stopping at EndPosition.
BeginPosition and EndPosition set the begin and end of the search bounds and the direction of the search, but Start provides the ability to start finding text at a position other than BeginPosition.
The DocumentViewerFindTextStart enum allows the operation to start inside or after the selection bounds (which is useful when paired with SelectFirstResult) or to start at a unique position with ManualStartPosition.
Though Start may be a value other than BeginPosition, the search may still effectively run from BeginPosition to EndPosition if: - DocumentViewerFindTextStart.InSelection or DocumentViewerFindTextStart.AfterSelection is used and there is no selected text or the selected text is before the BeginPosition - DocumentViewerFindTextStart.ManualPosition is used and ManualStartPosition is null
Otherwise, Start is likely to cause two internal searches:
Search from start to EndPosition.
If start from (1) was not BeginPosition, and FindAll or Loop is true, search from BeginPosition to start – 1.
For more information, refer to DocumentViewerText.Find.
History
For an example, refer to DocumentViewerText.Find.