The ExportProvider type exposes the following members.

Methods

  Name Description
Public method CanExportObject
Tests whether the specified object represents a document that can be exported by an Exporter associated with the current export provider (see NewExporter()()()()). The default implementation of this method returns false.
Public method CanExportRange
Tests whether the Exporter associated with the current export provider can handle the specified type of document pages' range. The default implementation of this method returns true if the specified range type is All, false otherwise.
Public method CanExportType
Tests whether documents of the specified type can be exported by an Exporter associated with the current export provider (see NewExporter()()()()).

Note that if just the type is not enough to determine whether a document of that type can be exported (e.g. an array of objects can be exported by some exporters only if all objects in that array are images), this method returns false. Use CanExportObject(Object) method to get a definitive value.

Public method NewExporter
Creates a new Exporter object. When overridden in a derived class, returns an instance of a specialized class derived from Exporter.

Properties

  Name Description
Public property C1ReportFileFormat
For C1Report-specific export providers, gets the FileFormatEnum associated with the current provider. For other providers, returns null.
Public property CanExportToStream
Gets a value indicating whether export to stream is supported by the current format.
Public property CanShowOptions
Gets a value indicating whether the associated Exporter can show a dialog allowing the user to edit the export options.
Public property DefaultExtension
Gets the default filename extension for the current export format.
Public property DefaultOptionsFormClass
Gets the type of form which is used to edit the export options by default.
Public property FormatKey
Gets the format key, which is an arbitrary string that should uniquely identify the current export provider/format. The default implementation returns the current ExportProvider's type name.
Public property FormatName
Gets a short description of the current export format.
Public property SupportedDocumentInfoFields
Gets the combination of flags indicating which fields of the DocumentInfo class are supported by the current export format.

See Also