PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / C1PrintManager Class / IsSupportedDocument Method
The document to test.

In This Topic
    IsSupportedDocument Method (C1PrintManager)
    In This Topic
    Tests whether an object can by printed by this print manager. If this method returns false for an object, an attempt to assign that object to C1PrintManager.Document will cause an exception. Currently supported types include:
    Syntax
    'Declaration
     
    Public Shared Function IsSupportedDocument( _
       ByVal document As Object _
    ) As Boolean
    public static bool IsSupportedDocument( 
       object document
    )

    Parameters

    document
    The document to test.

    Return Value

    True if the document can be printed, false otherwise.
    See Also