Click or drag to resize
TextExtensionsClear Method
Clears the text in the range.

Namespace: TextObjectModel
Assembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax
public static void Clear(
	this TextRange range
)

Parameters

range
Type: TextObjectModelTextRange
The range to clear.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TextRange. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also