Sets the entire text with the given text in a plain text form.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public void SetPlainText( string plainText )
Parameters
- plainText String
- The given text in a plain text form.
Exceptions
Exception | Condition |
---|---|
ArgumentException | plainText (excluding a carriage return character ('\r') at the end) has more than 30,000 characters. -or- plainText contains invalid characters such as a newline character. |
ArgumentNullException | A non-optional argument was null |