company logo

Font :: size - Point size property

The property contains the point or pixel size of the font, depending on the value set for the usePixel property. The size must be greater than zero. Otherwise, default settings (12) are taken.

Changing the usePixel property in the font definition will not affect the size value.

Options.GUIFramework.Fonts._std_font.size=10

Return value:   - internal feature (not documented) ( xxINT  )

Implementation overview

Implementation details

  1. Get font size
    int32 Font  :: size (  )

    The function returns the font size in point, when usePixel is set to false and in pixel otherwise.

  2. to list
  3. Change size settings
    int32 Font  :: size ( int32 iNumber )

    The function sets the size value to the value passed in iNumber. Depending on the setting of the usePixel property,the value is interpreted as number of pixels or points.

    • iNumber - - internal feature (not documented)
  4. to list