Click or drag to resize
TextRangeSetActiveSubrange Method
(TOM 2 only) Makes the specified subrange the active subrange of this range.

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

Parameters

index
Type: SystemInt32
The anchor end character position of the subrange to make active.
length
Type: SystemInt32
The length of the subrange.
Exceptions
ExceptionCondition
NotSupportedException The underlying COM object does not implement the ITextRange2 interface.
See Also