2027 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 Inherited From
M Dispose() None Releases all resources used by the TextEditorOptions
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetTextEditorOptions() TextEditorOptions Returns the current Revit instance's TextEditorOptions.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P IsValidObject Boolean 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.