addEmbeddedFont

addEmbeddedFont(FontData fontData, int embedFontRule) method

Adds the embedded font

Returns

void

Exception

ExceptionCondition
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) method

Adds the embedded font

Returns

void

Exception

ExceptionCondition
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.