Table of Contents

HtmlFontEventArgs Class

Arguments passed on FlexCel.Render.FlexCelHtmlExport.OnHtmlFont.

Syntax

Namespace: FlexCel.Core

public class HtmlFontEventArgs: EventArgs

Constructors

Name Description
HtmlFontEventArgs Creates a new Argument.

Properties

Name Description
Workbook ExcelFile 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/​))...[more]