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




index
Index that specifies where to insert the new item data element in the sequence. The index is zero-based, so if you want to insert the new item as the first item in the sequence, set this to 0. The value -1 indicates to add the item at the end of the sequence.
layerName
The zero-based index at which the new item should be inserted in the sequence. The value -1 indicates to add the item at the end of the sequence.
Adds a new item under the "Graphic Annotation Sequence".

Syntax

Visual Basic (Declaration) 
Public Sub CreateGraphicAnnSQItem( _
   ByVal index As Integer, _
   ByVal layerName As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomDataSet
Dim index As Integer
Dim layerName As String
 
instance.CreateGraphicAnnSQItem(index, layerName)
C# 
public void CreateGraphicAnnSQItem( 
   int index,
   string layerName
)
Managed Extensions for C++ 
public: void CreateGraphicAnnSQItem( 
   int index,
   string* layerName
) 
C++/CLI 
public:
void CreateGraphicAnnSQItem( 
   int index,
   String^ layerName
) 

Parameters

index
Index that specifies where to insert the new item data element in the sequence. The index is zero-based, so if you want to insert the new item as the first item in the sequence, set this to 0. The value -1 indicates to add the item at the end of the sequence.
layerName
The zero-based index at which the new item should be inserted in the sequence. The value -1 indicates to add the item at the end of the sequence.

Example

For an example, refer to FindFirstGraphicAnnSQItem.

Remarks

This method will add a new item under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module". If the sequence does not already exist, then this method will create it first and then add the new item.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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