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

In This Topic
    CanExportObject Method (ExportProvider)
    In This Topic
    Tests whether the specified object represents a document that can be exported by an Exporter associated with the current export provider (see NewExporter). The default implementation of this method returns false.
    Syntax
    'Declaration
     
    Public MustOverride Function CanExportObject( _
       ByVal obj As Object _
    ) As Boolean
    public abstract bool CanExportObject( 
       object obj
    )

    Parameters

    obj
    The object (document) to test.

    Return Value

    true if the associated Exporter can export the specified object, false otherwise.
    See Also