Gets the
IC1Document representing the passed object, If the passed document is a
C1PrintDocument or
C1MultiDocument, returns that object. Otherwise, if the passed document is a
C1.C1Report.C1Report, returns that report's
C1.C1Report.C1Report.C1Document property. Otherwise, returns
null.
'Declaration
Public Shared Function AsC1Document( _
ByVal As Object _
) As IC1Document
public static IC1Document AsC1Document(
object
)
Parameters
- o
- A document to test/convert.
Return Value
IC1Document representing the passed object, or null.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2