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

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

    Parameters

    o
    A document to test/convert.

    Return Value

    IC1Document representing the passed object, or null.
    See Also