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



graphicAnnSQItem
An item element under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".
graphicObjIndex
The zero-based index of the graphic annotation object whose number of points is required.
graphicAnnSQItem
An item element under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".
graphicObjIndex
The zero-based index of the graphic annotation object whose number of points is required.
Retrieves number of points that represents a graphical annotation object.

Syntax

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

Parameters

graphicAnnSQItem
An item element under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".
graphicObjIndex
The zero-based index of the graphic annotation object whose number of points is required.

Return Value

The number of points that represents a graphical annotation object.

Example

For an example, refer to DicomDataSet.FindFirstGraphicAnnSQItem.

Remarks

This method retrieves the number of points that represents a graphical annotation object in the specified "Graphic Annotation Sequence" (0070,0001) item in the "Graphic Annotation Module".

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