[]
        
(Showing Draft Content)

C1.C1Preview.Export.ExportProvider.CanExportType

CanExportType Method

CanExportType(Type)

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.

Declaration
public abstract bool CanExportType(Type documentType)
Public MustOverride Function CanExportType(documentType As Type) As Boolean
Parameters
Type Name Description
Type documentType

The document type to test.

Returns
Type Description
bool
<b>true</b> if the associated <xref href="C1.C1Preview.Export.Exporter" data-throw-if-not-resolved="false"></xref> can export documents of the specified type,

false otherwise.