addEmbeddedFont

addEmbeddedFont(FontData fontData, int embedFontRule) function

Adds the embedded font

Error

ErrorCondition
ArgumentExceptionAn 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(byte[] fontData, int embedFontRule) function

Adds the embedded font

Error

ErrorCondition
ArgumentExceptionAn 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.