2022 Class
Changes 0
C

TextEditorOptions

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