GetDefaultTextStatus Method

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

Description

Returns the default text status of the text being edited.

Available in Ted and in Fred.

Syntax

object.GetDefaultTextStatus

object

Required. Object name. Returned by Ted.GetCurrentLocalTxt.

Example

  If Ted.isLocalTxt Then

    Dim objTxt = Ted.GetCurrentLocalTxt

    Dim objDefaultPS = objTxt.DefaultParaStatus

    Dim hLeading = objDefaultPS.Leading

    Dim objDefaultTS = objTxt.DefaultTextStatus

    Dim hSize = objDefaultTS.CharH

     MsgBox("Leading=" & hLeading & " Point size=" & hSize)

  End If

Context

LocalTxt object

See also

GetDefaultParaStatus Method