PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview.Export Namespace / ExportProvider Class
Properties Methods


In This Topic
    ExportProvider Class Members
    In This Topic

    The following tables list the members exposed by ExportProvider.

    Public Properties
     NameDescription
    Public PropertyGets a value indicating whether export to stream is supported by the current format.  
    Public PropertyGets a value indicating whether the associated Exporter can show a dialog allowing the user to edit the export options.  
    Public PropertyGets the default filename extension for the current export format.  
    Public PropertyGets the type of form which is used to edit the export options by default.  
    Public PropertyGets 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 PropertyGets a short description of the current export format.  
    Public PropertyGets the combination of flags indicating which fields of the C1.C1Preview.DocumentInfo class are supported by the current export format.  
    Top
    Public Methods
     NameDescription
    Public MethodTests 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 MethodTests 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 C1.C1Preview.OutputRangeTypeEnum.All, false otherwise.  
    Public MethodTests 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 method to get a definitive value.

     
    Public MethodCreates a new Exporter object. When overridden in a derived class, returns an instance of a specialized class derived from Exporter.  
    Top
    See Also