PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview.Export Namespace / BmpExportProvider Class / CanExportType Method
The type to test.

In This Topic
    CanExportType Method (BmpExportProvider)
    In This Topic
    Tests whether documents of the specified type can be exported by the current export provider. Note that if the type is array, this method returns false even though an array of metafiles can be exported by the associated exporter. Use PagesExportProvider.CanExportObject to get a definitive value.
    Syntax
    'Declaration
     
    Public Overridable Function CanExportType( _
       ByVal documentType As Type _
    ) As Boolean
    public virtual bool CanExportType( 
       Type documentType
    )

    Parameters

    documentType
    The type to test.

    Return Value

    true if documentType is C1.C1Preview.C1PrintDocument or PrintDocument, false otherwise.
    See Also