"family"

The attribute "family" returns the font family of the current font.

Synopsis

getValue(string shape, "family", string &fam);

Parameter

Parameter Description
shape Name of the object
fam The font family of the current font

Description

The attribute "family"; returns the font family of the current font.

Example

This example returns the font family of the current font, for example, ["Font family"]["MS Shell Dlg"].

main(bool enter)
{
  string obj = "TEXT_EDIT1";
  string ffam;
  getValue(obj,"family",ffam);
  DebugN("Font family", ffam);
}

Assignment

TextEdit