[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Export.Html.Section.HtmlExport.Export

Export Method

Export(SectionDocument, string)

Exports the specified document to html.

Declaration
public void Export(SectionDocument document, string filePath)
Parameters
Type Name Description
SectionDocument document

The ActiveReports Document object to export.

string filePath

The file name and path to save the main html file to. If multiple filenames are generated (such as images, or table of contents pages) this argument's value will be used as a prefix for the other file names.

Implements

Export(SectionDocument, string, string)

Exports the specified document to HTML.

Declaration
public void Export(SectionDocument document, string filePath, string pagesRange)
Parameters
Type Name Description
SectionDocument document

The SectionDocument to export.

string filePath

The file name and path to save the main html file to. If multiple filenames are generated (such as images, or table of contents pages) this argument's value will be used as a prefix for the other file names.

string pagesRange

A range of page numbers to export seperated by a comma. Between each comma can have a single page number, or range of pages with a hyphen between the starting and ending page numbers in the range.

Implements

Export(SectionDocument, Stream, string)

Exports the specified SectionDocumentto HTML in a MIME MHT format (as can be saved from Internet Explorer) which includes the HTML and all images in a single file.

Declaration
public void Export(SectionDocument document, Stream outputStream, string pagesRange)
Parameters
Type Name Description
SectionDocument document

The SectionDocument to export.

Stream outputStream

The destination Stream to save the MHT file to.

string pagesRange

A range of page numbers to export seperated by a comma. Between each comma can have a single page number, or range of pages with a hyphen between the starting and ending page numbers in the range.

Implements

Export(SectionDocument, IOutputHtml, string)

Provides advanced control over how the HtmlExport stores all output, including all html pages, images, bookmark pages, etc...

Declaration
public void Export(SectionDocument document, IOutputHtml outputHandler, string pageRange)
Parameters
Type Name Description
SectionDocument document

The ActiveReports Document to export to HTML.

IOutputHtml outputHandler

An implementation of IOutputHtml that will receive all HTML output.

string pageRange

A range of page numbers to export seperated by a comma. Between each comma can have a single page number, or range of pages with a hyphen between the starting and ending page numbers in the range.

Implements

Export(SectionDocument, Stream)

Exports the specified SectionDocumentto HTML in a MIME MHT format (as can be saved from Internet Explorer) which includes the HTML and all images in a single file.

Declaration
public void Export(SectionDocument document, Stream outputStream)
Parameters
Type Name Description
SectionDocument document

The SectionDocument to export.

Stream outputStream

The destination Stream to save the MHT file to.

Implements