FormatId Property

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Mar/2016, at 17:09

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.GetCurrentLocalTxt.

Example

This script displays the id of the text format.

If Ted.isLocalTxt Then

 dim objT = Ted.GetCurrentLocalTxt

 dim id = objT.FormatId

 msgbox ("This is id of the text's format:" & id)

End If

Context

LocalTxt object

See also

FormatName Property