WriteFont()

EmbedAllFontsHtmlController::WriteFont(System::SharedPtr<IHtmlGenerator>, System::SharedPtr<IFontData>, System::SharedPtr<IFontData>, System::String, System::String, System::ArrayPtr<uint8_t>) method

Writes data as base64 into HTML document itself

virtual void Aspose::Slides::Export::EmbedAllFontsHtmlController::WriteFont(System::SharedPtr<IHtmlGenerator> generator, System::SharedPtr<IFontData> originalFont, System::SharedPtr<IFontData> substitutedFont, System::String fontStyle, System::String fontWeight, System::ArrayPtr<uint8_t> fontData)

Arguments

ParameterTypeDescription
generatorSystem::SharedPtr<IHtmlGenerator>HTML generator
originalFontSystem::SharedPtr<IFontData>Font to be serialized
substitutedFontSystem::SharedPtr<IFontData>Substituted font (if font substitution occured), null otherwise
fontStyleSystem::StringFont style
fontWeightSystem::StringFont weight
fontDataSystem::ArrayPtr<uint8_t>Font data

See Also