[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.HtmlSaveOptions.ExportImageAsBase64

ExportImageAsBase64 Property

ExportImageAsBase64

Gets or sets whether images are saved in Base64 format to HTML.

The default value is false. When this property is true, image data is exported directly on the img elements and separate files are not created.

Declaration
public bool ExportImageAsBase64 { get; set; }
Public Property ExportImageAsBase64 As Boolean
Examples
HtmlSaveOptions options = new HtmlSaveOptions();
options.ExportImageAsBase64 = true;
bool exportImageAsBase64 = options.ExportImageAsBase64;
using MemoryStream stream = new MemoryStream();
workbook.Save(stream, options);