Click or drag to resize
TextRangeAddSubrange Method
(TOM 2 only) Adds a subrange to this range.

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

Parameters

index
Type: SystemInt32
The active-end character position of the subrange.
length
Type: SystemInt32
The length of the subrange.
activate
Type: SystemBoolean
If true, the new subrange is the active subrange.
Exceptions
ExceptionCondition
NotSupportedException The underlying COM object does not implement the ITextRange2 interface.
See Also