C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview.Export Namespace / ExportProvider Class / CanExportType Method
The document type to test.

In This Topic
CanExportType Method (ExportProvider)
In This Topic
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 method to get a definitive value.

Syntax
'Declaration
 
Public MustOverride Function CanExportType( _
   ByVal documentType As Type _
) As Boolean
 

Parameters

documentType
The document type to test.

Return Value

true if the associated Exporter can export documents of the specified type, false otherwise.
See Also