An ArgumentException can be thrown if font data is null or this font is already embedded Keep in mind when copying any fonts that most fonts are copyrighted. First locate the license of a font before hand and verify they can be freely transferred to another machine.
addEmbeddedFont
Name
Description
addEmbeddedFont (byte[], int)
Adds the embedded font
Error
Error
Condition
ArgumentException
An ArgumentException can be thrown if font data is null or this font is already embedded Keep in mind when copying any fonts that most fonts are copyrighted. First locate the license of a font before hand and verify they can be freely transferred to another machine.
The font data object containing the information about the font FontData.
fontStyle
int
The style of the font for which the data is to be retrieved FontStyle.
Returns:
byte
getFontEmbeddingLevel
Name
Description
getFontEmbeddingLevel (byte[], String)
Determines the embedding level of a font from the given byte array and font name.
Parameters:
Name
Type
Description
fontBytes
byte[]
The byte array containing the font data.
fontName
String
The name of the font.
Returns:
int
Error
Error
Condition
ArgumentNullException
Thrown when {@code fontBytes} is null.
getFontFallBackRulesCollection
Name
Description
getFontFallBackRulesCollection ()
Represents a user’s collection of FontFallBack rules for managing of collections of fonts for proper substitutions by fallback functionality Read/write IFontFallBackRulesCollection.
Represents a user’s collection of FontFallBack rules for managing of collections of fonts for proper substitutions by fallback functionality Read/write IFontFallBackRulesCollection.