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

In This Topic
    CanExportObject Method (XpsExportProvider)
    In This Topic
    Tests whether the specified object represents a document that can be exported by the associated XpsExporter.
    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, false otherwise.
    See Also