| TextRangeFindTextStart Method (String, RangeMatchType) |
Searches to the end of the story for text, starting at the range's start.
Namespace: TextObjectModelAssembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax public int FindTextStart(
string text,
[OptionalAttribute] RangeMatchType flags
)
Public Function FindTextStart (
text As String,
<OptionalAttribute> flags As RangeMatchType
) As Integer
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:
Int32The 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