Create method (ILPresentationLUT Interface)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

Short Create(VARIANT PresentationLUT, BSTR pszPresentationLUTShape);

Overview

Refer to Print Management SCU.

Remarks

The Create method requests the Print SCP to create a Presentation LUT SOP Instance.

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 Presentation LUT was created successfully, with either a Success or Warning status code in the response of the Print SCP.

The method can be used to create one or more Presentation LUTs. Having a Presentation LUT created, the GetSOPInstanceUID method can be used to obtain its SOP Instance UID, which in turn can be used to reference the Presentation LUT from Film Boxes and Grayscale Image Boxes. Refer to the RefPresLUTInstanceUID property of the ILFilmBox interface and the RefPresLUTInstanceUID property of the ILImageBox interface.

The Print SCP can be requested to delete an existing Presentation LUT SOP Instance using the Delete method.

See Also

Elements:

GetSOPInstanceUID method, Delete method, LastOperationStatus property, RefPresLUTInstanceUID property (ILFilmBox interface), RefPresLUTInstanceUID property (ILImageBox interface)

Topics:

DICOM Print Management SCU: Basic Print Management