IsBold Property

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Mar/2016, at 12:20

Description

Returns True if the currently loaded font is bold, otherwise False.

Syntax

object.IsBold

object

Required. Object name. Returned by Ted.GetFont.

Example

This script returns True if the font, numbered as 10031 is bold, otherwise False:

Dim objFont = Ted.GetFont

objFont.Code = 10031

msgbox (objFont.IsBold)

Remarks

For bold-italic fonts, isBold and isItalic has to return True.

Context

Font object

See also

IsItalic