[]
        
(Showing Draft Content)

C1.C1Preview.Export.EmfExporter

EmfExporter Class

Provides export of a document to a sequence of metafiles in disk files or in a stream.

Inheritance
EmfExporter
Namespace: C1.C1Preview.Export
Assembly: C1.PrintDocument.4.8.dll
Syntax
public class EmfExporter : PagesExporter
Remarks

EmfExporter supports export to stream in the following format:

  • intThe total page count.
  • intThe length of the first page data (bytes).
  • byte[]The first page data.
  • intThe length of the second page data (bytes).
  • byte[]The second page data.
  • ......and so on for all pages...

Constructors

Name Description
EmfExporter()

Initializes a new instance of the EmfExporter class.

Properties

Name Description
EmfPlusToEmfOnly

Gets or sets a value indicating whether metafiles of types EmfPlusDual and EmfPlusOnly should be converted to EmfOnly type before exporting.

ExportProvider

Gets EmfExportProvider.

Methods

Name Description
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.

CopyPropertiesFromOptionsForm(ExportOptionsFormBase)

Copies the options from the specified export options form to corresponding properties on the current exporter.

CopyPropertiesToOptionsForm(ExportOptionsFormBase)

Copies the properties of the current exporter to corresponding user-editable options of the specified export options form.

ProcessPage(Metafile, C1MetafileInfo, int, bool)

Exports a page of a document represented by a Metafile.