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.

See Also