The HtmlExporter type exposes the following members.

Constructors

  Name Description
Public method HtmlExporter
Initializes a new instance of the HtmlExporter class.

Methods

  Name Description
Protected method CanPreviewOutputFile
Tests whether OutputFileName()()()() can be previewed. This (base) implementation uses FindExecutable API to find an appropriate executable, and returns a value indicating whether it has been found or not.

If you override this, you must also override PreviewOutputFile()()()().

(Inherited from Exporter.)
Protected method Clear
Resets the internal state of the exporter and all its public properties.
(Overrides Exporter..::..Clear()()()().)
Protected method ConvertEmfPlusToEmfOnly
Indicates whether page metafiles of types EmfPlusDual and EmfPlusOnly should be converted to EmfOnly type before exporting. The base implementation returns false.
(Inherited from Exporter.)
Protected method CopyPropertiesFromOptionsForm
Copies the options from the specified export options form to corresponding properties on the current exporter.
(Overrides ComplexExporter..::..CopyPropertiesFromOptionsForm(ExportOptionsFormBase).)
Protected method CopyPropertiesToOptionsForm
Copies the properties of the current exporter to corresponding user-editable options of the specified export options form.
(Overrides ComplexExporter..::..CopyPropertiesToOptionsForm(ExportOptionsFormBase).)
Protected method EnsureGeneratedDocument
Makes sure the Document has been generated if it is an instance of the C1PrintDocument or of the C1Report class.
(Inherited from Exporter.)
Protected method EnumeratePages
Processes (exports) all pages in the range to be exported.
(Inherited from Exporter.)
Public method Export(Stream)
Exports the object specified by the Document property on the current exporter to the specified Stream.

Note that some export formats do not support exporting to streams. Test the value returned by the CanExportToStream property on ExportProvider prior to calling this method.

(Inherited from Exporter.)
Public method Export(String)
Exports the object specified by the Document property on the current exporter to the specified file.
(Inherited from Exporter.)
Protected method GetPageFileName
Gets the file name (with path) for the file containing the specified page. Used only for export formats that save a page per file (e.g. TIFF).
(Inherited from Exporter.)
Protected method InternalExport
Performs export to a disk file. If OutputFileName()()()() has not been set, this method returns immediately.
(Overrides Exporter..::..InternalExport()()()().)
Protected method OnDocumentChanged
Called after the Document property has been changed. If you override this, make sure this base method also gets called.
(Inherited from Exporter.)
Protected method PreviewOutputFile
Previews OutputFileName()()()(). This (base) implementation uses System.Diagnostics.Process.Start() to open the output file.

Override this if you override CanPreviewOutputFile()()()().

(Inherited from Exporter.)
Protected method ProcessPage
Not supported for this class.
(Overrides Exporter..::..ProcessPage(Metafile, C1MetafileInfo, Int32, Boolean).)
Protected method Reset
Resets the internal state of the exporter.
(Overrides Exporter..::..Reset()()()().)
Public method ShowOptionsDialog
Displays a dialog that allows the user to edit the export options.
(Inherited from Exporter.)

Properties

  Name Description
Public property Document
Gets or sets the object representing the document that will be exported by the current exporter's Export(String) or Export(Stream) methods.
(Inherited from Exporter.)
Public property DocumentInfo
Gets or sets the DocumentInfo object associated with the Document assigned to the current exporter.
(Inherited from Exporter.)
Public property DocumentInfoFormClass
Gets or sets the type of form that is used to edit the fields of DocumentInfo class. That form can be invoked from the export options form (OptionsFormClass). The form's type must be assignable to DocumentInfoForm.
(Inherited from Exporter.)
Public property ExportNavBar
Gets or sets the template used to create the navigation bar with page numbers.
Public property ExportProvider (Overrides Exporter..::..ExportProvider.)
Public property FixedPositioning
Gets or sets a value indicating whether the exported document should exactly match the appearance of the original document. Usually this can only be achieved at the cost of preserving the logical structure and/or ease of editing of the exported document.
(Inherited from ComplexExporter.)
Public property GenerateOutline
Gets or sets a value indicating whether to create a frame containing the document's outline.
Public property GeneratePageLinks
Gets or sets a value indicating whether to generate hyperlinks to individual pages.
Public property GeneratePageSeparators
Gets or sets a value indicating whether to delimit individual pages of the original document with horizontal lines.
Public property ImageFolder
Gets or sets the path name of the folder where images are to be saved.
Public property LinksLocation
Gets or sets the location of hyperlinks on the generated page(s) (the hyperlinks can contain outline entries or page numbers).
Public property MaxHorzPageLinks
Gets or sets the maximum number of page hyperlinks in a row.
Public property OpenXmlDocument
Gets or sets a value indicating whether the document should be saved in Office12 Open XML format.
(Inherited from ComplexExporter.)
Public property OptionsFormClass
Gets or sets the type of form that is used to edit export options. That form is shown when the Export(String) or the Export(Stream) method is called if ShowOptions is true. The form's type must be assignable to the type specified by the DefaultOptionsFormClass property.
(Inherited from Exporter.)
Public property OptionsFormClassName
Gets or sets the type name of form that is used to edit export options. That form is shown when the Export(String) or the Export(Stream) method is called if ShowOptions is true. The form's type must be assignable to the type specified by the DefaultOptionsFormClass property.
(Inherited from Exporter.)
Public property OutputFiles
Gets the list of files which were generated by the call to Export(String). Typically exporters produce a single file (e.g. RtfExporter, XlsExporter), but some (like HtmlExporter and EmfExporter) may produce several files all of which can be then accessed through this property.
(Inherited from Exporter.)
Public property PagePerFile
Gets or sets a value indicating whether to export each page of the document into a separate file.
Public property Paginated
Gets or sets a value indicating whether the exported document should preserve the pagination of the original document.
(Inherited from ComplexExporter.)
Public property PreserveExactHeight
Gets or sets a value indicating whether export should try to preserve the exact original height of all elements. Generally, setting this property to false makes the resulting HTML document more flexible.
Public property Preview
Gets or sets a value indicating whether the exported document should be opened after exporting it to a disk file (using the Export(String) method). The application used to open the file is determined by the OS shell.
(Inherited from Exporter.)
Public property Range
Gets or sets the range of pages that is to be exported.
(Inherited from Exporter.)
Public property RangeFormClass
Gets or sets the type of form that is used to enter the export output range. That form can be invoked from the export options form (OptionsFormClass). The form's type must be assignable to OutputRangeForm.
(Inherited from Exporter.)
Public property ReferenceGraphics
Specifies the Graphics object used by export. For example, that Graphics can be used to convert EmfPlusDual or EmfPlusOnly metafiles to EmfOnly. If this property is null, the screen device context is used.
(Inherited from Exporter.)
Public property Scaling
Gets or sets the scaling factor applied to all elements of the resulting HTML document, in percent.
Public property ShowOptions
Gets or sets a value indicating whether the options dialog should be shown to the user before exporting the document.
(Inherited from Exporter.)

Events

  Name Description
Public event LongOperation
Occurs periodically during export. Allows to show progress and give the end user the ability to cancel the operation.
(Inherited from Exporter.)

See Also