IGxFont.Unit

Syntax

Unit: GxUnit;

Description

The Unit property returns font size units.

Example

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

Font: IGxFont;

Range: ITabRange;

i: Integer;

Begin

Range:=UiTabSheet1.TabSheet.Cell(0,0);

Font:=Range.Style.Font.AsGxFont;

i:=Font.Unit;

End Sub Button1OnClick;

After executing the example on clicking the button the "i" variable contains the font size units of the regular report table first cell that are transformed to the integer view.

See also:

IGxFont