Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
FreeAnnotationBoxesInstanceUids Method
See Also 
Leadtools.Dicom Namespace > DicomPrintScu Class : FreeAnnotationBoxesInstanceUids Method



Frees the memory allocated for storing the SOP Instance UIDs of the Basic Annotation Box SOP Instances created by the Print SCP when a Film Box is created.

Syntax

Visual Basic (Declaration) 
Public Sub FreeAnnotationBoxesInstanceUids() 
Visual Basic (Usage)Copy Code
Dim instance As DicomPrintScu
 
instance.FreeAnnotationBoxesInstanceUids()
C# 
public void FreeAnnotationBoxesInstanceUids()
C++/CLI 
public:
void FreeAnnotationBoxesInstanceUids(); 

Example

Remarks

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 Value of that Attribute. This is true given that the Basic Annotation Box SOP Class is supported on the Association. An array of the SOP Instance UIDs of these Annotation Boxes is kept internally. This method frees the memory allocated for that array.

Once this method is called, a call to the method GetAnnotationBoxesCount will return 0. This of course does not mean that no Annotation Boxes are referenced by the current Film Box.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features