Requests the Print SCP to create a Presentation LUT SOP Instance.
public void CreatePresentationLut(
Leadtools.Dicom.DicomDataSet presentationLut,
string presentationLutShape
)
Public Sub CreatePresentationLut( _
ByVal presentationLut As Leadtools.Dicom.DicomDataSet, _
ByVal presentationLutShape As String _
)
public:
void CreatePresentationLut(
Leadtools.Dicom.DicomDataSet^ presentationLut,
String^ presentationLutShape
)
presentationLut
A DicomDataSet object that contains the data of the Presentation LUT to be created. The object is assumed to contain the Presentation LUT Sequence (2050,0010). If this Sequence is not present, the method will fail. This parameter can be set to a null reference (Nothing in VB) if a Presentation LUT Shape is specified using the parameter presentationLutShape.
presentationLutShape
The Presentation LUT Shape (2050,0020) of the Presentation LUT to be created. This can be set to a null reference (Nothing in VB) or it can specify an empty string if the parameter presentationLut is not a null reference.
Two of the exceptions that can be thrown by this method are:
Exception Type | Condition |
---|---|
DicomExceptionCode.PrintSCUFailureStatus | The response of the Print SCP specifies a Failure status code; no Instance was created. |
DicomExceptionCode.PrintSCUClassNotSupported | The Presentation LUT SOP Class is not supported on the Association. |
The method will fail if none of the parameters is supplied. If both are supplied, presentationLutShape will be ignored.
The method will not return until it receives the response of the Print SCP, or an error occurs. The method GetLastOperationStatus can be used to obtain the status code specified in the response of the Print SCP. If the method CreatePresentationLut is successful, 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 method GetPresentationLutInstanceUid 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 methods CreateFilmBox, UpdateFilmBox, and UpdateImageBox.
The Print SCP can be requested to delete an existing Presentation LUT SOP Instance using the method DeletePresentationLut.
For an example, refer to Associate.
Products |
Support |
Feedback: CreatePresentationLut Method - Leadtools.Dicom |
Introduction |
Help Version 19.0.2017.6.16
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.