| TextRangeSetActiveSubrange Method |
(TOM 2 only)
Makes the specified subrange the active subrange of this range.
Namespace: TextObjectModelAssembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax public void SetActiveSubrange(
int index,
int length
)
Public Sub SetActiveSubrange (
index As Integer,
length As Integer
)
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 Exception | Condition |
---|
NotSupportedException |
The underlying COM object does not implement the ITextRange2 interface.
|
See Also