Requests the Print SCP to update the specified Basic Annotation Box SOP Instance.
public void UpdateAnnotationBox(
string annotationBoxInstanceUid,
int annotationPosition,
string text
)
Public Sub UpdateAnnotationBox( _
ByVal annotationBoxInstanceUid As String, _
ByVal annotationPosition As Integer, _
ByVal text As String _
)
public:
void UpdateAnnotationBox(
String^ annotationBoxInstanceUid,
int annotationPosition,
String^ text
)
annotationBoxInstanceUid
The SOP Instance UID of the Annotation Box to be updated. The method will fail if this is a null reference (Nothing in VB) or if an empty string is specified. The method GetAnnotationBoxInstanceUid returns the SOP Instance UID of a particular Annotation Box.
annotationPosition
The Value of the Attribute Annotation Position (2030,0010).
text
The Value of the Attribute Text String (2030,0020). If this is set to a null reference (Nothing in VB), the Attribute will not be included in the request to the Print SCP and hence will not be updated.
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. |
DicomExceptionCode.PrintSCUClassNotSupported | The Basic Annotation Box SOP Class is not supported on the Association. |
When the Print SCP is requested to create a Film Box, and if an Annotation Display Format ID is specified, the Print SCP will also create one or more Annotation Boxes, based on the Annotation Display Format ID. This will happen only if the Basic Annotation Box SOP Class is supported on the Association. This method updates a particular Annotation Box. The Annotation Box specified (by the SOP Instance UID) must belong to the current (last created) Film Box.
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 UpdateAnnotationBox is successful, the Annotation Box was updated successfully, with either a Success or Warning status code in the response of the Print SCP.
For an example, refer to Associate.
GetAnnotationBoxesCount Method
GetAnnotationBoxInstanceUid Method
Products |
Support |
Feedback: UpdateAnnotationBox 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.