a2Style_Bold() This returns a value used by the "style" parameter of the a2CreateFont command.
Syntax
    a2Style_Bold()
Parameters
This function has no parameters.
Returns
This function returns a value of 1.
Description
This function is used by the "style" parameter of the a2CreateFont command. It sets the font style to bold text.
Example Code
    myFont4 = a2CreateFont("ariel", 30, a2Size_Char(), a2Style_Normal())
    myFont5 = a2CreateFont("ariel", 30, a2Size_Char(), a2Style_Bold())
    myFont6 = a2CreateFont("ariel", 30, a2Size_Char(), a2Style_Italic())
    myFont7 = a2CreateFont("ariel", 30, a2Size_Char(), a2Style_BoldItalic())

    a2Text myFont4, 10, 150, "Normal text", 0xFFFFFFFF
    a2Text myFont5, 10, 180, "Bold text", 0xFFFFFFFF
    a2Text myFont6, 10, 210, "Italic text", 0xFFFFFFFF
    a2Text myFont7, 10, 240, "Bold Italic text", 0xFFFFFFFF

    WAIT KEY
See also
a2Style_Normal a2Style_Italic a2Style_BoldItalic Advanced 2D Index Main Menu