NativeExcel for .Net Developer's Reference

ExportOptionsHtml Class

Represents a set of export options for html format.

For a list of all members of this type, see ExportOptionsHtml Members.

System.Object
NativeExcel.ExportOptions
NativeExcel.ExportOptionsHtml

[Visual Basic]
PublicClassExportOptionsHtml
InheritsExportOptions
[C#]
publicclassExportOptionsHtml:ExportOptions
[C++]
public__gcclassExportOptionsHtml: publicExportOptions
[JScript]
publicclassExportOptionsHtmlextendsExportOptions

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Example

This example demonstrates how to use ExportOptionsHtml class.

[C#]
IWorkbook book = NativeExcel.Factory.OpenWorkbook("book.xls"); 
ExportOptionsHtml options = new ExportOptionsHtml();
options.ShowGridLines = true;
options.ShowHiddenContent = false;
options.ShowColumnHeadings = true;
options.ShowRowHeadings = true;
book.SaveAs("book.html", XlFileFormat.xlHtml, options);

Requirements

Namespace: NativeExcel

Assembly: NativeExcel (in NativeExcel.dll)

See Also

ExportOptionsHtml Members | NativeExcel Namespace | IWorkbook.SaveAs Method | IWorksheet.SaveAs Method | IRange.SaveAs Method