The EmfExporter type exposes the following members.

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.
(Inherited from Exporter.)
Protected method ConvertEmfPlusToEmfOnly
Indicates whether page metafiles of types EmfPlusDual and EmfPlusOnly should be converted to EmfOnly type before exporting. The base implementation returns the value of EmfPlusToEmfOnly property.
(Overrides Exporter..::..ConvertEmfPlusToEmfOnly()()()().)
Protected method CopyPropertiesFromOptionsForm
Copies the options from the specified export options form to corresponding properties on the current exporter.
(Overrides Exporter..::..CopyPropertiesFromOptionsForm(ExportOptionsFormBase).)
Protected method CopyPropertiesToOptionsForm
Copies the properties of the current exporter to corresponding user-editable options of the specified export options form.
(Overrides Exporter..::..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 or to a stream. The destination (file or stream) is determined by which of the properties (OutputFileName()()()() or OutputStream()()()()) is non-null when this method executes.
(Inherited from Exporter.)
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
Exports a page of a document represented by a Metafile.
(Overrides Exporter..::..ProcessPage(Metafile, C1MetafileInfo, Int32, Boolean).)
Protected method Reset
Resets the internal state of the exporter.
(Inherited from Exporter.)
Public method ShowOptionsDialog
Displays a dialog that allows the user to edit the export options.
(Inherited from Exporter.)

See Also