|
|
|
|
|
grCreateFont (Function) In french: grCréePolice
Warning
grCreateFont is kept for backward compatibility.In this version. the management of fonts in the drawings, charts and prints was standardized. grCreateFont becomes useless. To use a font in a chart, a drawing, a control or a print, you must: - Define a variable of type Font.
- Initialize this variable with the characteristics of the font (with FontCreate, or with the font properties).
The documentation about grCreateFont is as follows.
| Purpose Creating a font for the charts. Syntax grCreateFont(<FontNum>, <NbPixelsHeight>, <Style>, <NameWindowsFont> [,<Color>]) <FontNum> is the number (integer) identifying the created font <NbPixelsHeight> is an integer corresponding to the height of the font (in pixels). <Style> is the attribute (or style) of the font - iNormal, normal font (no attribute)
- iBold, bold font (bold attribute)
- iUnderlined, underlined font (underlined attribute)
- iItalic, italic font (italic attribute)
- iStrikeOut, strikeout font
<NameWindowsFont> is the name of the selected font (among the ones installed on the computer) <Color> is the color of the text. This color corresponds to a preset constant (Black by default) Details The fonts created by grCreateFont are automatically destroyed when closing the application. Creating a font with the number of an existing font automatically overwrites the former font. The default color used for the fonts is black (Black). Remarks - grDeleteAll does not destroy the fonts created by grCreateFont.
- A series cannot contain more than 8000 elements.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|