Click or drag to resize
TextRangeGetSubrange Method
(TOM 2 only) Retrieves a subrange in a range.

Namespace: TextObjectModel
Assembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax
public void GetSubrange(
	int subrange,
	out int index,
	out int length
)

Parameters

subrange
Type: SystemInt32
The subrange index.
index
Type: SystemInt32
The character position for the start of the subrange.
length
Type: SystemInt32
The length of the subrange.
Exceptions
ExceptionCondition
NotSupportedException The underlying COM object does not implement the ITextRange2 interface.
See Also