TUIFont.CreateNew Method
Overloads
TUIFont.CreateNew(string, Double)
Creates a font with the given name and size.
Syntax
Unit: FlexCel.Core
class function TUIFont.CreateNew(const aName: string; const aSize: Double): TUIFont; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | aName | string | Name of the font. |
const | aSize | Double | Size in points of the font. |
See also
TUIFont.CreateNew(string, Double, TUIFontStyleSet)
Creates a font with the given name, size and style.
Syntax
Unit: FlexCel.Core
class function TUIFont.CreateNew(const aName: string; const aSize: Double; const aFontStyle: Set of TUIFontStyle): TUIFont; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | aName | string | Name of the font. |
const | aSize | Double | Size in points of the font. |
const | aFontStyle | Set of TUIFontStyle | Style of the font (italic, bold, etc) |