LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
GetGraphicObjectCount Method
See Also 
Leadtools.Dicom Namespace > DicomDataSet Class : GetGraphicObjectCount Method



graphicAnnSQItem
An item element under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".
graphicAnnSQItem
An item element under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".
Retrieves the number of graphical annotation objects in a certain "Graphic Annotation Sequence" (0070,0001) item. Supported in Silverlight, Windows Phone 7.

Syntax

Visual Basic (Declaration) 
Public Function GetGraphicObjectCount( _
   ByVal graphicAnnSQItem As DicomElement _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As DicomDataSet
Dim graphicAnnSQItem As DicomElement
Dim value As Integer
 
value = instance.GetGraphicObjectCount(graphicAnnSQItem)
C# 
public int GetGraphicObjectCount( 
   DicomElement graphicAnnSQItem
)
C++/CLI 
public:
int GetGraphicObjectCount( 
   DicomElement^ graphicAnnSQItem
) 

Parameters

graphicAnnSQItem
An item element under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".

Return Value

The graphical annotation object count.

Example

For an example, refer to DicomDataSet.FindFirstGraphicAnnSQItem.

Remarks

This method returns the number of graphical annotation objects in the specified "Graphic Annotation Sequence" (0070,0001) item in the "Graphic Annotation Module".

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

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