RVTDocs.com
Namespace: Autodesk.Revit.UI

TextEditorOptions

Class
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
Syntax
public class TextEditorOptions : IDisposable
Examples
public void SetEditorOptions()
{
    TextEditorOptions editorOptions = TextEditorOptions.GetTextEditorOptions();
    editorOptions.ShowBorder = false;
    editorOptions.ShowOpaqueBackground = true;
}