Edit

Share via


TextRange2.TrimText Method

Definition

Returns the specified text minus any trailing spaces.

public:
 Microsoft::Office::Core::TextRange2 ^ TrimText();
public Microsoft.Office.Core.TextRange2 TrimText ();
abstract member TrimText : unit -> Microsoft.Office.Core.TextRange2
Public Function TrimText () As TextRange2

Returns

TextRange2

Applies to