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 As Type _
) As Boolean
public abstract bool CanExportType(
Type
)
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