[]
Gets or sets which area is exported to HTML.
This property is used for exporting a specific area of a worksheet and takes effect only when ExportSheetName is not null.
public string ExportArea { get; set; }
Public Property ExportArea As String
HtmlSaveOptions options = new HtmlSaveOptions();
options.ExportSheetName = "Sheet1";
options.ExportArea = "A2:G23";
string exportArea = options.ExportArea;
using MemoryStream stream = new MemoryStream();
workbook.Save(stream, options);