FontSettings Class
Contains font related settings which are used when printing, importing or exporting a presentation to a file format that requires font information.
- Inheritance:
- System.ObjectFontSettings
Remarks
Setting the custom fonts location is usually used in environments without any installed fonts or 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 the Private Fonts example.
Properties
FontsBaseDirectory
Gets or sets the base directory path where component looks for fonts. Directory path can be absolute or relative to GetCurrentDirectory().
public static string FontsBaseDirectory { get; set; }
Public Shared Property FontsBaseDirectory As String
Property Value
The base directory path where component looks for fonts.
FontsBaseResourceLocation
Gets or sets the base resource location where component looks for fonts specified as resources inside the local or referenced assembly.
public static string FontsBaseResourceLocation { get; set; }
Public Shared Property FontsBaseResourceLocation As String
Property Value
The base resource location where component looks for fonts specified as resources inside the local or referenced assembly.
See Also
FontsBaseUri
Gets or sets the base Uri where component looks for fonts. Uri path should end with DirectorySeparatorChar or AltDirectorySeparatorChar.