| TextRangeFindTextEnd Method (String, Int32, RangeMatchType) |
Searches up to count characters for text, starting from the range's end.
Namespace: TextObjectModelAssembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax public int FindTextEnd(
string text,
int count,
[OptionalAttribute] RangeMatchType flags
)
Public Function FindTextEnd (
text As String,
count As Integer,
<OptionalAttribute> flags As RangeMatchType
) As Integer
public:
int FindTextEnd(
String^ text,
int count,
[OptionalAttribute] RangeMatchType flags
)
Parameters
- text
- Type: SystemString
String to find. - count
- Type: SystemInt32
Maximum number of characters to search. - 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 end is changed to be the end of 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