[]
Specify the options for cell element attributes when exporting to HTML.
public Dictionary<CellAttribute, string> CellAttributeOptions { get; set; }
Public Property CellAttributeOptions As Dictionary(Of CellAttribute, String)
| Type | Description |
|---|---|
| Dictionary<CellAttribute, string> | A dictionary where the key is a CellAttribute and the value is a string representing the attribute's name. |
HtmlSaveOptions options = new HtmlSaveOptions();
Dictionary<CellAttribute, string> cellAttributeOptions = options.CellAttributeOptions;
cellAttributeOptions[CellAttribute.Address] = "address";
using MemoryStream stream = new MemoryStream();
workbook.Save(stream, options);