TextEditorOptions
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.
public class TextEditorOptions : IDisposable
public void SetEditorOptions()
{
TextEditorOptions editorOptions = TextEditorOptions.GetTextEditorOptions();
editorOptions.ShowBorder = false;
editorOptions.ShowOpaqueBackground = true;
}
| Name | Return Type | Description |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| GetTextEditorOptions() | TextEditorOptions | Returns the current Revit instance's TextEditorOptions. |
| Name | Return Type | Description |
|---|---|---|
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| ShowBorder | bool | Show the border box around the text during editing. |
| ShowOpaqueBackground | bool | Show opaque background behind the text during editing. |