Table of Contents

THtmlFontEventArgs Class

Arguments passed on FlexCel.Render.FlexCelHtmlExport.OnHtmlFont.

Syntax

Unit: FlexCel.Core

THtmlFontEventArgs = class(EventArgs);

Constructors

Name Description
Create Creates a new Argument.

Properties

Name Description
Workbook TCoreExcelFile with the cell we are exporting.
CellFont Font we want to process.
FontFamily Use this property to return the new font you want for the cell, if you need to replace it.
Note that you can return more than one font here, and the format for this string is the format on a font selector "font-family" in a CSS stylesheet.
You could for example return the string @"Baskerville, "Heisi Mincho W3", Symbol, serif" here. Look for a complete description of the "font-family" descriptor in the CSS reference. (http:​//​www.​w3.​org/​TR/​REC-​CSS2/​))