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
Syntaxpublic bool ExportEmbeddedCss { get; set; }
Public Property ExportEmbeddedCss As Boolean
Get
Set
public:
property bool ExportEmbeddedCss {
bool get ();
void set (bool value);
}
member ExportEmbeddedCss : bool with get, set
Property Value
Type:
Boolean
ExamplesShows 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