[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.HtmlSaveOptions

HtmlSaveOptions Class

Option class for saving html file.

Inheritance
HtmlSaveOptions
Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public class HtmlSaveOptions : SaveOptionsBase
Public Class HtmlSaveOptions
    Inherits SaveOptionsBase

Constructors

Name Description
HtmlSaveOptions()

Creates options for saving html file.

Properties

Name Description
AddTooltipText

Indicates whether adding tooltip text when the data can't be fully displayed. The default value is false.

AttachedFilesUrlPrefix

Specify the Url prefix of attached files such as image in the html file.

CellAttributeOptions

Specify the options for cell element attributes when exporting to HTML.

CellCssPrefix

Gets and sets the prefix of the css name, the default value is null.

CssExportType

Specify the way in which the stylesheet (CSS) is exported.

Encoding

If not set, use Encoding.UTF8 as default enconding type.

ExportArea

Indicates which area would be exported to html. This is used for exporting specific area of worksheet. Only take effect when HtmlSaveOptions.ExportSheetName is not null.

ExportCssSeparately

Indicating whether exporting the worksheet style to css separately. The default value is true. When this property is set to false. Css style data is exported directly to each worksheet and separate stylesheet.css file are not created.

ExportDocumentProperties

Indicating whether exporting document properties. The default value is true.

ExportFileName

Indicates the name of the html file. Only for saving to html stream, and the default value is "workbook".

ExportGridlines

Indicating whether exporting the gridlines. The default value is false.

ExportHeadings

Indicates whether exporting headings when saving file to html. The default value is false.

ExportHiddenWorksheet

Indicating if exporting the hidden worksheet. The default value is false.

ExportImageAsBase64

Specifies whether images are saved in Base64 format to html. The default value is false. When this property is set to true image data is exported directly on the img elements and separate files are not created.

ExportSheetName

Indicates which worksheet would be exported to html. This is used for exporting specific worksheet of workbook.

ExportSingleTab

Indicates whether exporting the single tab when the file only has one worksheet or ExportSheetName is set. The default value is false.

IncludeAutoMergedCells

Indicates whether to include the automatically merged cells. The default value is false.

IsExportComments

Indicates if exporting comments when saving file to html. The default value is false.

Indicating whether using full path link in html. Only for exporting to html file. The default value is false.

IsWidthScalable

Indicates whether using scalable unit to describe the column width when exporting file to html. The default value is false.

LinkTargetType

Indicating the type of target attribute in <a> link. The default value is Blank.

PageTitle

The title of the html page.

TableCssId

Gets and sets the prefix of the type css name such as tr, td and so on, they are contained in the table element which has the specific TableCssId attribute. The default value is null.