Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview.Export Namespace / ComplexExportProvider Class / CanExportObject Method
The object (document) to test.

In This Topic
    CanExportObject Method (ComplexExportProvider)
    In This Topic
    Tests whether the specified object represents a document that can be exported by the associated Exporter.
    Syntax
    'Declaration
     
    Public Overrides Function CanExportObject( _
       ByVal obj As Object _
    ) As Boolean
    public override bool CanExportObject( 
       object obj
    )

    Parameters

    obj
    The object (document) to test.

    Return Value

    true if obj is an instance of C1.C1Preview.C1PrintDocument, C1.C1Report.C1Report, System.Drawing.Printing.PrintDocument, or a collection of System.Drawing.Imaging.Metafile objects, and false otherwise.
    See Also