Provides access to settings that control Revit's Text Editor appearance and functionality.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 17.0.0.0 (17.0.1090.0)
Since: 2017
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Remarks
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;
} Public Sub SetEditorOptions()
Dim editorOptions As TextEditorOptions = TextEditorOptions.GetTextEditorOptions()
editorOptions.ShowBorder = False
editorOptions.ShowOpaqueBackground = True
End Sub