Click or drag to resize

FontSettings Class

Contains font related settings which are used when printing a spreadsheet or exporting a spreadsheet to a file format that requires font information.
Inheritance Hierarchy

Namespace:  GemBox.Spreadsheet
Assembly:  GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version:
public static class FontSettings

The FontSettings type exposes the following members.

Public propertyStatic memberFontsBaseDirectory
Gets or sets base directory path where component looks for fonts. Directory path can be absolute or relative to GetCurrentDirectory.
Public propertyStatic memberFontsBaseResourceLocation

Gets or sets the base resource location where component looks for fonts specified as resources inside the local or referenced assembly.

Read Remarks for details about the format of the FontsBaseResourceLocation for Windows and Web applications.

Public propertyStatic memberFontsBaseUri
Gets or sets base Uri where component looks for fonts. Uri path should end with DirectorySeparatorChar or AltDirectorySeparatorChar.
Setting the custom fonts location is usually used in medium trust environments to bypass file system operations restrictions imposed for file locations that are not under the application's jurisdiction.
See Also