DicomObjects.NET.V8
DicomObjects Namespace / DicomPrint Class / Open Method

Network address (as dotted notation or resolvable name) to which the association is to be made

Port on which remote application is listening

Name to quote for this Application Entity

Name of remote Application Entity




In This Topic
    Open Method (DicomPrint)
    In This Topic
    Opens an association to a DICOM printer for printing
    Syntax
    'Declaration
     
    Public Sub Open( _
       ByVal Node As String, _
       ByVal Port As Integer, _
       ByVal CallingAE As String, _
       ByVal CalledAE As String _
    ) 
    'Usage
     
    Dim instance As DicomPrint
    Dim Node As String
    Dim Port As Integer
    Dim CallingAE As String
    Dim CalledAE As String
     
    instance.Open(Node, Port, CallingAE, CalledAE)
    public void Open( 
       string Node,
       int Port,
       string CallingAE,
       string CalledAE
    )
    public:
    void Open( 
       String^ Node,
       int Port,
       String^ CallingAE,
       String^ CalledAE
    ) 

    Parameters

    Node

    Network address (as dotted notation or resolvable name) to which the association is to be made

    Port

    Port on which remote application is listening

    CallingAE

    Name to quote for this Application Entity

    CalledAE

    Name of remote Application Entity

    Remarks

    This method opens a new connection to the destination specified by the Node and Port property.

    Although no result is returned, success at subsequent statements can always be assumed, as failure will produce a trappable error (error like "Fail to connection at TCP level" etc.).

    As part of this method the well-known printer object is retrieved, so after this call, the Printer property becomes valid.

    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also