IText |
public interface ITextDocumentView
The ITextDocumentView type exposes the following members.
| Name | Description | |
|---|---|---|
| Controller | Sets the controller that manages this view. | |
| DocumentCulture | Sets the culture for this document. This is important for instance for spell checking. | |
| FractionOfEditorWindow | Gets or sets the fraction of the window used by the editor. | |
| HighlightingStyle | Sets the highlighting style. | |
| IsFoldingEnabled | Sets a value indicating whether code folding is enabled. | |
| IsHyphenationEnabled | Sets a value indicating whether hyphenation is enabled. | |
| IsInInitializationMode | Flag that is set if the view is in initialization mode. If in initialization mode, it should not fire events etc, not render the document. | |
| IsLineNumberingEnabled | Sets a value indicating whether line numbering is enabled. | |
| IsOutlineWindowVisible | Sets a value indicating whether this the outline window is visible. | |
| IsSpellCheckingEnabled | Sets a value indicating whether spell checking is enabled. | |
| IsViewerSelected | Gets or sets a value indicating whether the viewer pane is selected. | |
| IsWordWrappingEnabled | Sets a value indicating whether word wrapping is enabled. | |
| OutlineWindowRelativeWidth | Sets the width of the outline window. A value of NaN indicates that the width is determined automatically by the contents of the outline window. | |
| SourceText | Gets or sets the source text shown in the editor. | |
| StyleName | Sets the name of the active style. | |
| WindowConfiguration | Gets or sets the viewer window configuration. |
| Name | Description | |
|---|---|---|
| InsertSourceTextAtCaretPosition | Inserts the provided markdown source text at the current caret position. | |
| PrintShowDialog | Shows a print dialog and prints the current document if confirmed. | |
| SetDocumentNameAndLocalImages | Sets the name of the document, and the local images. This function must be called every time the document name has changed. |
| Name | Description | |
|---|---|---|
| SourceTextChanged | Occurs when the source text changes. |