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



Returns the number of the Basic Annotation Box SOP Instances created by the Print SCP when a Film Box is created.

Syntax

Visual Basic (Declaration) 
Public Function GetAnnotationBoxesCount() As Integer
Visual Basic (Usage)Copy Code
Dim instance As DicomPrintScu
Dim value As Integer
 
value = instance.GetAnnotationBoxesCount()
C# 
public int GetAnnotationBoxesCount()
C++/CLI 
public:
int GetAnnotationBoxesCount(); 

Return Value

The number of the Annotation Boxes referenced by the current (last created) Film Box; if no Film Box is currently created, the method will return 0.

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 the Annotation Display Format ID. This will happen only if the Basic Annotation Box SOP Class is supported on the Association. This method returns the count of these Annotation Boxes.

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