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