Class FontManager
Manages the collection of fonts available in the internal cache.
Inheritance
System.Object
FontManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Neodynamic.SDK.Printing
Assembly: cs.temp.dll.dll
Syntax
public sealed class FontManager
Methods
Add(Font)
Adds a Font object to the internal cache.
Declaration
public static void Add(Font font)
Parameters
Type | Name | Description |
---|---|---|
Font | font | The Font object. |
AddFromBase64(String)
Adds a font to the internal cache from a Base64 string file content.
Declaration
public static void AddFromBase64(string fontFileBase64)
Parameters
Type | Name | Description |
---|---|---|
System.String | fontFileBase64 | The font Base64 string file content. |
AddFromBuffer(Byte[])
Adds a font to the internal cache from a binary file content.
Declaration
public static void AddFromBuffer(byte[] fontFileBuffer)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | fontFileBuffer | The font binary file content. |
AddFromFile(String)
Adds a font to the internal cache from a file path.
Declaration
public static void AddFromFile(string fontFilePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | fontFilePath | The font file path. |