add_embedded_font method

add_embedded_font

Adds the embedded font. 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.An ArgumentException can be thrown if font data is null or this font is already embedded

def add_embedded_font(self, font_data, embed_font_rule):
    ...
ParameterTypeDescription
font_dataIFontDataFont data object IFontData
embed_font_ruleEmbedFontCharactersEmbedded font rule EmbedFontCharacters

add_embedded_font

Adds the embedded font Keep in mind when adding 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.An ArgumentException can be thrown if font data is null or this font is already embedded

def add_embedded_font(self, font_data, embed_font_rule):
    ...
ParameterTypeDescription
font_databytesFont data int[]
embed_font_ruleEmbedFontCharactersEmbedded font rule EmbedFontCharacters

See Also