Table of Contents

TFlxChartFont Record

A TFlxFont with Scaling factor. Scaling factor might be different than 1 if the chart has Autosize Fonts. To get the real value of the font, you need to multiply by the factor.

Syntax

Unit: FlexCel.Core

TFlxChartFont = record;

Fields

Name Description
Font Actual information for the font.

Methods

Name Description
Create Overloaded
Create
Create(TFlxFont)
Create(string, Integer)
Create(string, Integer, Boolean)
Create(string, Integer, TExcelColor, TFlxFontStyleSet, TFlxUnderline, TFontScheme)
Null Constructs a null instance.
Clone Return a deep copy of the copy.
IsNull Returns true if the record doesn't have a defined value.
HasValue Returns true if the record has a defined value. This is the inverse of IsNull

Operators

Name Description
Equality Adapts the = operator so it returns true when both instances have the same values.
Inequality Adapts the <> operator so it returns true when both instances have different values.

Properties

Name Description
Scale Scale for the font. Multiply by this value to get the real size in points.
IsCalculated If true, this font was calculated from defaults, and didn't had a real value in the file.
If the font is calculated, then you shouldn't set it when setting a font.