Click or drag to resize

TextDocumentViewOptions Class

Stores presentation settings for a text document view.
Inheritance Hierarchy
SystemObject
  Altaxo.Text.GuiModelsTextDocumentViewOptions

Namespace: Altaxo.Text.GuiModels
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class TextDocumentViewOptions : IProjectItemPresentationModel, 
	ICloneable

The TextDocumentViewOptions type exposes the following members.

Constructors
 NameDescription
Protected methodTextDocumentViewOptions(IXmlDeserializationInfo) Initializes a new instance of the TextDocumentViewOptions class from XML deserialization data.
Public methodTextDocumentViewOptions(TextDocument) Initializes a new instance of the TextDocumentViewOptions class.
Top
Properties
 NameDescription
Public propertyDocument Gets the Markdown document this presentation data is based on.
Public propertyFractionOfSourceEditorWindowVisible The fraction of the width (when shown in left-right configuration) or height (when shown in top-bottom configuration) of the source editor window in relation to the available width/height.
Public propertyHighlightingStyle Indicates the highlighting style of the editor window. If null, the default global highlighting style of Altaxo is used.
Public propertyIsFoldingEnabled Indicates if folding marks are enabled in the editor window. If null, the default global value of Altaxo is used.
Public propertyIsLineNumberingEnabled Indicates if line numbering is enabled in the editor window. If null, the default global value of Altaxo is used.
Public propertyIsOutlineWindowVisible Gets or sets a value indicating whether the outline window is visible.
Public propertyIsSpellCheckingEnabled Indicates if spell checking is enabled in the viewer window. If null, the default global value of Altaxo is used.
Public propertyIsViewerSelected Gets or sets the last focus location. If true, the viewer window was selected last, if false, the editor window was selected.
Public propertyIsWordWrappingEnabled Indicates if word wrapping is enabled in the editor window. If null, the default global value of Altaxo is used.
Public propertyOutlineWindowRelativeWidth Gets or sets the relative width of the outline window. A value of NaN is indicating that the width of the outline window is set automatically.
Public propertyWindowConfiguration Gets or sets the window configuration, i.e. if the editor and the viewer windows are located left, top, right, bottom or in a tab control
Top
Methods
 NameDescription
Public methodCloneCreates a new object that is a copy of the current instance.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldStatic memberPropertyKeyHighlightingStyle Gets the property key for the editor highlighting style.
Public fieldStatic memberPropertyKeyIsFoldingEnabled Gets the property key for editor folding.
Public fieldStatic memberPropertyKeyIsHyphenationEnabled Gets the property key for viewer hyphenation.
Public fieldStatic memberPropertyKeyIsLineNumberingEnabled Gets the property key for editor line numbering.
Public fieldStatic memberPropertyKeyIsSpellCheckingEnabled Gets the property key for viewer spell checking.
Public fieldStatic memberPropertyKeyIsWordWrappingEnabled Gets the property key for editor word wrapping.
Public fieldStatic memberPropertyKeyOutlineVisible Gets the property key for outline visibility.
Public fieldStatic memberPropertyKeyOutlineWindowRelativeWidth Gets the property key for the relative outline width.
Top
See Also