fontSelector()

Opens the font type selector and writes the selection to a variable.

Synopsis

int fontSelector( string | langString &fontstr);

Parameters

Parameter Description
fontstr Font type returned.

Return value

In the event of an error, the function returns -1 otherwise, 0.

Error

General troubleshooting.

Description

Opens the font type selector and writes the name of a font type selected there to the string variable fontstr. Valid content of the variable fontstr is a font type string.

Example


main()
{
  string s;
  fontSelector(s);
}

Assignment

Simple configuration

Availability

UI