Namespace:
Autodesk.Revit.UI
TextEditorOptions
Class
Description:
Provides access to settings that control Revit's Text Editor appearance and functionality.
Provides access to settings that control Revit's Text Editor appearance and functionality.
Remarks:
These settings are stored in the Revit.ini file. All documents in Revit instances which use this Revit.ini will follow these settings.
These settings are stored in the Revit.ini file. All documents in Revit instances which use this Revit.ini will follow these settings.
Examples
public void SetEditorOptions()
{
TextEditorOptions editorOptions = TextEditorOptions.GetTextEditorOptions();
editorOptions.ShowBorder = false;
editorOptions.ShowOpaqueBackground = true;
}
TextEditorOptions Class Members:
Name | Description | Inherited From |
---|---|---|
IsValidObject | Specifies whether the .NET object represents a valid Revit entity. | |
ShowBorder | Show the border box around the text during editing. | |
ShowOpaqueBackground | Show opaque background behind the text during editing. |
Name | Description | Inherited From |
---|---|---|
Dispose | Releases all resources used by the TextEditorOptions | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
GetHashCode | Serves as the default hash function. (Inherited from Object ) | Object |
GetTextEditorOptions | Returns the current Revit instance's TextEditorOptions. | |
GetType | Gets the Type of the current instance. (Inherited from Object ) | Object |
ToString | Returns a string that represents the current object. (Inherited from Object ) | Object |