Contains editor options which are not saved with the document.
For a list of all members of this type, see EditorOptions Members.
System.Object
Aspose.Editor.Desktop.EditorOptions
[Visual Basic]
Public Class EditorOptions
[C#]public class EditorOptions
Remarks
You do not create instances of this class directly. Use the Options property of the EditorControl object to access options of the editor.
Example
Creates a new editor control and opens a new document in it.
[C#]
// Normally this code is generated by Visual Studio .NET when you drag and drop
// the editor control into your Windows Form, but you can also code it youself.
EditorControl editorControl = new EditorControl();
editorControl.Dock = DockStyle.Fill;
// Lets display paragraph marks, spaces, breaks etc.
editorControl.Options.IsShowFormattingMarks = true;
// This creates a new document and opens it in the editor control.
editorControl.Open();
[Visual Basic]
' Normally this code is generated by Visual Studio .NET when you drag and drop
' the editor control into your Windows Form, but you can also code it youself.
Dim editorControl As New EditorControl()
editorControl.Dock = DockStyle.Fill
' Lets display paragraph marks, spaces, breaks etc.
editorControl.Options.IsShowFormattingMarks = True
' This creates a new document and opens it in the editor control.
editorControl.Open()
Requirements
Namespace: Aspose.Editor.Desktop
Assembly: Aspose.Editor.Desktop (in Aspose.Editor.Desktop.dll)
See Also
EditorOptions Members | Aspose.Editor.Desktop Namespace | EditorControl