Aspose::Cells::HtmlSaveOptions::SetCssStyles method
HtmlSaveOptions::SetCssStyles(const U16String&) method
Gets or sets the additional css styles for the formatter. Only works when SaveAsSingleFile is True.
void Aspose::Cells::HtmlSaveOptions::SetCssStyles(const U16String &value)
Examples
Aspose::Cells::Startup();
HtmlSaveOptions opt;
U16String css = u"body { padding: 5px }";
opt.SetCssStyles(css);
Aspose::Cells::Cleanup();
See Also
- Class Vector
- Class U16String
- Class HtmlSaveOptions
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
HtmlSaveOptions::SetCssStyles(const char16_t*) method
Gets or sets the additional css styles for the formatter. Only works when SaveAsSingleFile is True.
void Aspose::Cells::HtmlSaveOptions::SetCssStyles(const char16_t *value)
Examples
Aspose::Cells::Startup();
HtmlSaveOptions opt;
opt.SetCssStyles(u"body { padding: 5px }");
Aspose::Cells::Cleanup();
See Also
- Class Vector
- Class HtmlSaveOptions
- Namespace Aspose::Cells
- Library Aspose.Cells for C++