Click or drag to resize
TextDocument Properties

The TextDocument type exposes the following members.

Properties
  NameDescription
Public propertyActiveStory
(TOM 2 only) Gets or sets the active story; that is, the story that receives keyboard and mouse input.
Public propertyAdvancedTypographyEnabled
(TOM 2 only) Gets or sets a value indicating whether advanced typography (special line breaking and line formatting) is turned on.
Public propertyCaretType
(TOM 2 only) Gets or sets the caret type.
Public propertyDefaultTabStop
Gets or sets the default tab width.
Public propertyDocumentFont
(TOM 2 only) Gets or sets a TextFont that provides the default character format information for this instance of the TOM engine.
Public propertyDocumentPara
(TOM 2 only) Gets or sets a TextPara that provides the default paragraph format information for this instance of the TOM engine.
Public propertyEastAsianFlags
(TOM 2 only) Gets the East Asian flags.
Public propertyEntireRange
Returns a TextRange representing the entire document.
Public propertyGenerator
(TOM 2 only) Gets the name of the TOM engine.
Public propertyMainStory
(TOM 2 only) Gets the main story.
Public propertyMathProperties
Provides access to the math properties for the document.
Public propertyName
Gets the file name of this document.
Public propertyNotificationMode
(TOM 2 only) Gets or sets the notification mode.
Public propertyProperties
Provides access to the properties of the document.
Public propertySaved
Gets or sets a value that indicates whether changes have been made since the file was last saved.
Public propertySelection
Gets the active selection.
Public propertyStoryRanges
Gets a TextStoryRanges which enumerates through the stories in the document.
Public propertySupportedVersion
Gets a value indicating which version of the Text Object Model (TOM) is supported by the current document.
Public propertyWindowHandle
(TOM 2 only) Gets the handle of the window that the TOM engine is using to display output.
Top
See Also