PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview Namespace / Utils Class / AsC1PrintDocument Method
A document to test/convert.

In This Topic
    AsC1PrintDocument Method (Utils)
    In This Topic
    Gets the C1PrintDocument representing the passed object, If the passed document is a C1PrintDocument, returns that object. Otherwise, returns null.
    Syntax
    'Declaration
     
    Public Shared Function AsC1PrintDocument( _
       ByVal o As Object _
    ) As C1PrintDocument
    public static C1PrintDocument AsC1PrintDocument( 
       object o
    )

    Parameters

    o
    A document to test/convert.

    Return Value

    C1PrintDocument representing the passed object, or null.
    See Also