DicomObjects.NET.8.48 Documentation
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 System.String, _
       ByVal Port As System.Integer, _
       ByVal CallingAE As System.String, _
       ByVal CalledAE As System.String _
    ) 
    'Usage
     
    
    Dim instance As DicomPrint
    Dim Node As System.String
    Dim Port As System.Integer
    Dim CallingAE As System.String
    Dim CalledAE As System.String
     
    instance.Open(Node, Port, CallingAE, CalledAE)
    public void Open( 
       System.string Node,
       System.int Port,
       System.string CallingAE,
       System.string CalledAE
    )
    public procedure Open( 
        Node: System.String;
        Port: System.Integer;
        CallingAE: System.String;
        CalledAE: System.String
    ); 
    public function Open( 
       Node : System.String,
       Port : System.int,
       CallingAE : System.String,
       CalledAE : System.String
    );
    public: void Open( 
       System.string* Node,
       System.int Port,
       System.string* CallingAE,
       System.string* CalledAE
    ) 
    public:
    void Open( 
       System.String^ Node,
       System.int Port,
       System.String^ CallingAE,
       System.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.8 or higher

    See Also