Click or drag to resize
FontSettings Class
Contains font related settings which are used when printing, importing or exporting a document to a file format that requires font information.
Inheritance Hierarchy

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

The FontSettings type exposes the following members.

Public propertyStatic memberFontsBaseDirectory
Gets or sets the 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 the 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.

For more information, see private fonts sample.

See Also