HtmlFixedSaveOptionsExportEmbeddedCss Property

Specifies whether the CSS (Cascading Style Sheet) should be embedded into Html document.

Namespace:  Aspose.Words.Saving
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public bool ExportEmbeddedCss { get; set; }

Property Value

Type: Boolean
Examples
Shows how to export embedded objects into HTML file.
Document doc = DocumentHelper.CreateDocumentFillWithDummyText();

HtmlFixedSaveOptions htmlFixedSaveOptions = new HtmlFixedSaveOptions
{
    ExportEmbeddedCss = true,
    ExportEmbeddedFonts = true,
    ExportEmbeddedImages = true,
    ExportEmbeddedSvg = true
};

doc.Save(ArtifactsDir + "HtmlFixedSaveOptions.ExportEmbeddedObjects.html", htmlFixedSaveOptions);
See Also