L_LTDIC_API L_INT L_DicomPrintSCUCreatePresentationLUT(hPrintSCU, pPresentationLUT, pszPresentationLUTShape)
A handle to Dicom Print SCU.
Presentation LUT Shape.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
The function will not return until it receives the response of the Print SCP, or an error occurs. The function L_DicomPrintSCUGetLastOperationStatus can be used to obtain the status code specified in the response of the Print SCP. When the return value of the function CreatePresentationLUT is 0, then the Presentation LUT was created successfully, with either a Success or Warning status code in the response of the Print SCP.
The function can be used to create one or more Presentation LUTs. Having a Presentation LUT created, the function L_DicomPrintSCUGetPresentationLUTInstanceUID 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 functions L_DicomPrintSCUCreateFilmBox, L_DicomPrintSCUUpdateFilmBox, and L_DicomPrintSCUUpdateImageBox.
The Print SCP can be requested to delete an existing Presentation LUT SOP Instance using the function L_DicomPrintSCUDeletePresentationLUT.
Required DLLs and Libraries
Win32, x64, Linux.
For an example, refer to L_DicomPrintSCUUpdateImageBox.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries