Click or drag to resize
TextRangeFindTextStart Method (String, RangeMatchType)
Searches to the end of the story for text, starting at the range's start.

Namespace: TextObjectModel
Assembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax
public int FindTextStart(
	string text,
	[OptionalAttribute] RangeMatchType flags
)

Parameters

text
Type: SystemString
String to find.
flags (Optional)
Type: TextObjectModelRangeMatchType
Flags governing comparisons.

Return Value

Type: Int32
The length of string matched.
Remarks
The search is subject to the comparison parameter, flags. If the string is found, the start is changed to be the matched string, and the length of the string is returned. If the string is not found, the range is unchanged and zero is returned.
See Also