EmbedAllFontsHtmlControllerWriteFont Method

Writes data as base64 into HTML document itself

Namespace:  Aspose.Slides.Export
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.4.0.0 (21.4)
Syntax
public virtual void WriteFont(
	IHtmlGenerator generator,
	IFontData originalFont,
	IFontData substitutedFont,
	string fontStyle,
	string fontWeight,
	byte[] fontData
)

Parameters

generator
Type: Aspose.Slides.ExportIHtmlGenerator
HTML generator
originalFont
Type: Aspose.SlidesIFontData
Font to be serialized
substitutedFont
Type: Aspose.SlidesIFontData
Substituted font (if font substitution occured), null otherwise
fontStyle
Type: SystemString
Font style
fontWeight
Type: SystemString
Font weight
fontData
Type: SystemByte
Font data
See Also