Update method (ILFilmBox Interface)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

short Update();

Overview

Refer to Print Management SCU.

Remarks

The Update method requests the Print SCP to update the current Basic Film Box SOP Instance.

There must be a Film Box currently created before using this method.

The method will not return until it receives the response of the Print SCP or an error occurs. The status code specified in the response of the Print SCP is given by the LastOperationStatus property. When the return value of the method is 0, then this means that the Film Box was updated successfully, with either a Success or Warning status code in the response of the Print SCP.

Before calling the method, the various properties can be used to set the parameters to be updated. Only those parameters specified by the IncludedParameters property will be included. If a parameter is not specified, the corresponding Attribute will not be included in the request to the Print SCP and hence will not be updated. The method will return an error if none of the parameters is specified. Notice that not all the parameters that can be specified when creating the Film Box can be updated; the method will ignore the parameters specified by the following properties:

AnnotationDisplayFormatID property

FilmOrientation property

FilmSizeID property

RequestedResolutionID property

See Also

Elements:

Create method, IncludedParameters property, LastOperationStatus property

Topics:

DICOM Print Management SCU: Basic Print Management