Description
Returns the name of the format assigned to the text. Read-only.
Available in Ted and in Fred.
Note: use Text.TxtFormatName, or Page.TxtFormatName to change the format.
Syntax
object.FormatName |
object
Required. Object name. Returned by Ted.GetActiveTxt, objNode.GetTxt or objArticle.GetTxt(nIdx).
Example
This script displays the format name.
If Ted.HasActiveTxt Then
dim objT = Ted.GetActiveTxt
dim strname = objT.FormatName
msgbox ("This is name of the text's format:" & strname)
End If
Context
Text object
See also