AddEmbeddedFont()

IFontsManager::AddEmbeddedFont(System::SharedPtr<IFontData>, Export::EmbedFontCharacters) method

Adds the embedded font.

virtual void Aspose::Slides::IFontsManager::AddEmbeddedFont(System::SharedPtr<IFontData> fontData, Export::EmbedFontCharacters embedFontRule)=0

Arguments

ParameterTypeDescription
fontDataSystem::SharedPtr<IFontData>Font data object IFontData
embedFontRuleExport::EmbedFontCharactersEmbedded font rule EmbedFontCharacters

Exceptions

ExceptionDescription
System::ArgumentExceptionAn ArgumentException can be thrown if font data is null or this font is already embedded

Remarks

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.

IFontsManager::AddEmbeddedFont(System::ArrayPtr<uint8_t>, Export::EmbedFontCharacters) method

Adds the embedded font

virtual void Aspose::Slides::IFontsManager::AddEmbeddedFont(System::ArrayPtr<uint8_t> fontData, Export::EmbedFontCharacters embedFontRule)=0

Arguments

ParameterTypeDescription
fontDataSystem::ArrayPtr<uint8_t>Font data uint8_t[]
embedFontRuleExport::EmbedFontCharactersEmbedded font rule EmbedFontCharacters

Exceptions

ExceptionDescription
System::ArgumentExceptionAn ArgumentException can be thrown if font data is null or this font is already embedded

Remarks

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.

See Also