Class HtmlSaveOptions
Save options for HTML files.
Inherited Members
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public sealed class HtmlSaveOptions
Constructors
HtmlSaveOptions()
Save options for HTML files.
Declaration
public HtmlSaveOptions()
Properties
AddTooltipText
Gets or sets whether to add tooltip text (title attribute) to cells. Default is false.
Declaration
public bool AddTooltipText { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Encoding
Specifies the text encoding for the output HTML. Default is UTF-8 without BOM.
Declaration
public Encoding Encoding { get; set; }
Property Value
| Type | Description |
|---|---|
| Encoding |
ExcludeUnusedStyles
Gets or sets whether to exclude unused named styles. Default is false.
Declaration
public bool ExcludeUnusedStyles { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ExportActiveWorksheetOnly
Gets or sets whether to export only the active worksheet. Default is false.
Declaration
public bool ExportActiveWorksheetOnly { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ExportBogusRowData
Gets or sets whether to export bogus (empty) row data below used range. Default is true.
Declaration
public bool ExportBogusRowData { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ExportComments
Gets or sets whether to export cell comments. Default is false.
Declaration
public bool ExportComments { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ExportDocumentProperties
Gets or sets whether to export document-level properties. Default is true.
Declaration
public bool ExportDocumentProperties { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ExportGridLines
Gets or sets whether to export grid lines. Default is false.
Declaration
public bool ExportGridLines { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ExportHeadings
Gets or sets whether to export row/column headings. Default is false.
Declaration
public bool ExportHeadings { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ExportHiddenWorksheet
Gets or sets whether to export hidden worksheets. Default is false.
Declaration
public bool ExportHiddenWorksheet { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ExportImagesAsBase64
Gets or sets whether to embed images as base64 data URIs. Default is false.
Declaration
public bool ExportImagesAsBase64 { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ExportPrintAreaOnly
Gets or sets whether to export only the print area. Default is false.
Declaration
public bool ExportPrintAreaOnly { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ExportSimilarBorderStyle
Gets or sets whether to collapse similar border styles into shared CSS. Default is false.
Declaration
public bool ExportSimilarBorderStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ExportWorkbookProperties
Gets or sets whether to export workbook-level properties. Default is true.
Declaration
public bool ExportWorkbookProperties { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ExportWorksheetCSSSeparately
Gets or sets whether to write CSS to a separate file. Default is false.
Declaration
public bool ExportWorksheetCSSSeparately { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ExportWorksheetProperties
Gets or sets whether to export worksheet-level properties. Default is true.
Declaration
public bool ExportWorksheetProperties { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
HtmlCrossStringType
Gets or sets how cross-cell content overflow is handled. Default is Default.
Declaration
public HtmlCrossType HtmlCrossStringType { get; set; }
Property Value
| Type | Description |
|---|---|
| HtmlCrossType |
TableCssId
Specifies a prefix for table CSS class/ID names. Default is null.
Declaration
public string TableCssId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
WidthScalable
Gets or sets whether column widths are scalable (em/percent). Default is false.
Declaration
public bool WidthScalable { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |