HtmlSaveOptions Class
Represents options for saving to HyperText Markup Language File (HTML) format.
- Inheritance:
- System.
Object HtmlSave Options
Constructors
HtmlSaveOptions()
Initializes a new instance of the Html
Properties
ContentType
Gets the content-type for HTML file format:
Property Value
- System.
String
The content-type for HTML file format.
Overrides
EmbedImages
Gets or sets a value indicating whether images are embedded directly within the HTML file in form of Base64 encoding.
Property Value
- System.
Boolean
Remarks
If the value of this property is true then each image element will contain raw image data in its source attribute. This value doesn't change the pictures export behavior when using Mhtml.
Encoding
Gets or sets the encoding for the Html file.
Property Value
- System.
Text. Encoding
Exceptions
- System.
Argument Null Exception
Value is set to null.
FilesDirectoryPath
Gets or sets the physical directory where Excel
Property Value
- System.
String
The physical directory where Excel
Remarks
If value is null or System.
FilesDirectorySrcPath
Gets or sets the relative directory that will be used when referencing Excel
Property Value
- System.
String
The relative directory that will be used when referencing Excel
Remarks
If value is null or System.
HtmlType
Gets or sets the type of export.
Property Value
Remarks
For Html and Html
For Mhtml value, pictures are always exported.
Limitations
Gets limitations for saving to HTML file format.
Property Value
Overrides
Remarks
These are the limits:
- MaxRows: System.
Int32. Max Value - MaxColumns: System.
Int32. Max Value - MaxColors: System.
Int32. Max Value - MaxCellStyles: System.
Int32. Max Value
SelectionType
Gets or sets a value indicating whether to save the whole Excel
Property Value
WriteCellAddress
Gets or sets a value indicating whether each td HTML element should contain data-cell attribute with cell address for this cell.
Property Value
- System.
Boolean
Remarks
If the value of this property is true then each td HTML element will contain data-cell attribute with cell address for this cell (for example data-cell="A1").
Inherited Properties
Csv | Gets the default options for saving to Character Separated Values file format. (Inherited from Save |
Html | Gets the default options for saving to HyperText Markup Language File format. (Inherited from Save |
Image | Gets the default options for saving to image formats. (Inherited from Save |
Ods | Gets the default options for saving to OpenDocument Spreadsheet file format. (Inherited from Save |
Pdf | Gets the default options for saving to Portable Document Format file. (Inherited from Save |
Txt | Gets the default options for saving to Tab delimited file format. (Inherited from Save |
Xls | Gets the default options for saving to, XLS file format (Microsoft Excel Spreadsheet format; Excel 2003 and prior versions) . (Inherited from Save |
Xlsb | Gets the default options for saving to XLSB file format (Microsoft Excel Binary File Format). (Inherited from Save |
Xlsx | Gets the default options for saving to XLSX file format (Microsoft Excel Open XML Spreadsheet; Excel 2007 and later). (Inherited from Save |
Xps | Gets the default options for saving to XML Paper Specification file format. (Inherited from Save |