PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview.Export Namespace / RtfExportProvider Class / CanExportObject Method
The object (document) to test.

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

    Parameters

    obj
    The object (document) to test.

    Return Value

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