DicomObjects Reference
DicomObjects Reference / DicomViewer Object / New Method
The type of object to create - this must be the name of the object to create - e.g. "DicomImage".
In This Topic
    New Method
    In This Topic
    Description
    Returns a new subsidiary automation object
    Syntax
    Visual Basic
    Public Function New( _
       ByVal ObjectType As String _
    ) As Object
    Parameters
    ObjectType
    The type of object to create - this must be the name of the object to create - e.g. "DicomImage".
    Remarks

    Only the value “DicomConnection” is valid for base objects of type DicomServer.  The purpose of using this call, rather than allowing direct creation of DicomConnection objects, is to route ActionComplete events though a limited number of static objects, to which event handlers may easily be attached.

    Unlike most other methods and properties in DicomObjects, this method returns a generic “IDispatch” pointer, which in most languages except Visual Basic must be cast to the appropriate known object type.

    See Also