Back to Devexpress

HtmlExportOptionsBase.ExportMode Property

corelibraries-devexpress-dot-xtraprinting-dot-htmlexportoptionsbase-072b8a9b.md

latest2.9 KB
Original Source

HtmlExportOptionsBase.ExportMode Property

Gets or sets a value indicating how a document is exported to HTML.

Namespace : DevExpress.XtraPrinting

Assembly : DevExpress.Printing.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
[DefaultValue(HtmlExportMode.SingleFile)]
public HtmlExportMode ExportMode { get; set; }
vb
<DefaultValue(HtmlExportMode.SingleFile)>
Public Property ExportMode As HtmlExportMode

Property Value

TypeDefaultDescription
HtmlExportModeSingleFile

An HtmlExportMode enumeration value which represents the HTML export mode.

|

Available values:

NameDescription
SingleFile

A document is exported to a single file. Note that in this mode, page headers and footers are added to the resulting HTML file only once, at the beginning and at the end of the document.

| | SingleFilePageByPage |

A document is exported to a single file, page-by-page. In this mode, all pages are exported one under another, separated by page borders (which are specified by the HtmlExportOptionsBase.PageBorderWidth and HtmlExportOptionsBase.PageBorderColor properties).

| | DifferentFiles |

A document is exported to multiple files, page-by-page. In this mode every document page is exported to a single HTML file.

|

Remarks

The values listed in the HtmlExportMode enumeration specify the way in which a document is exported to HTML. For instance, it may be exported to a single file with a single page header at the beginning, and a single page footer at the end. Otherwise, it may be exported page-by-page, to either a single file, or different files. Note that if a document is exported page-by-page, you may specify the appearance of page borders via the HtmlExportOptionsBase.PageBorderWidth and HtmlExportOptionsBase.PageBorderColor properties.

See Also

HtmlExportOptionsBase Class

HtmlExportOptionsBase Members

DevExpress.XtraPrinting Namespace