Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview.Export Namespace / GifExportProvider Class / CanExportType Method
The type to test.

In This Topic
    CanExportType Method (GifExportProvider)
    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 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, C1.C1Report.C1Report or PrintDocument, false otherwise.
    See Also