Table of Contents

TFontCreatedEventArgs.Create Constructor

Creates a new instance of the event arguments with the specified parameters.

Syntax

Unit: FlexCel.Core

constructor TFontCreatedEventArgs.Create(const aSubstitutedFontName: string; const aOriginalFontName: string; const aFontSize: Double; const aFontStyle: Set of TUIFontStyle);

Parameters

<-> Parameter Type Description
const aSubstitutedFontName string Name of the final font as decided by the operating system. Note that some operating systems might return the same name as the original font even if they used a substitute font under the hood.
In those platforms we can't know a font has been substituted.
const aOriginalFontName string Name of the font we were trying to create. It might not be the same as the font the operating system gave to us.
const aFontSize Double Size in points of the font.
const aFontStyle Set of TUIFontStyle Style of the font.

See also