Provides functionality to specify information about the handling of fonts in the current application domain.
Inheritance Hierarchy
PdfEdit.FontsGlobalFontSettings
Namespace: PdfEdit.Fonts
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.1.1.0 (5.1.1.0)
Syntax
The GlobalFontSettings type exposes the following members.
Fields
Name | Description | |
---|---|---|
DefaultFontName |
The name of the default font.
|
Properties
Name | Description | |
---|---|---|
DefaultFontEncoding |
Gets or sets the default font encoding used for XFont objects where encoding is not explicitly specified.
If it is not set, the default value is PdfFontEncoding.Unicode.
If you are sure your document contains only Windows-1252 characters (see https://en.wikipedia.org/wiki/Windows-1252)
set default encoding to PdfFontEncodingj.Windows1252.
Must be set only once per app domain.
| |
FontResolver |
Gets or sets the global font resolver for the current application domain.
This static function must be called only once and before any font operation was executed by PDFEdit.
If this is not easily to obtain, e.g. because your code is running on a web server, you must provide the
same instance of your font resolver in every subsequent setting of this property.
In a web application set the font resolver in Global.asax.
|
See Also