LEADTOOLS Medical (Leadtools.Dicom assembly)
LEAD Technologies, Inc

CreateGraphicAnnSQItem Method








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.
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". .NET support WinRT support Silverlight support
Syntax
public void CreateGraphicAnnSQItem( 
   int index,
   string layerName
)
'Declaration
 
Public Sub CreateGraphicAnnSQItem( _
   ByVal index As Integer, _
   ByVal layerName As String _
) 
'Usage
 
Dim instance As DicomDataSet
Dim index As Integer
Dim layerName As String
 
instance.CreateGraphicAnnSQItem(index, layerName)
public void CreateGraphicAnnSQItem( 
   int index,
   string layerName
)
ObjectiveC Syntax
 function Leadtools.Dicom.DicomDataSet.CreateGraphicAnnSQItem( 
   index ,
   layerName 
)
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.
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.
Example
For an example, refer to FindFirstGraphicAnnSQItem.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DicomDataSet Class
DicomDataSet Members
FindFirstGraphicAnnSQItem Method
FindNextGraphicAnnSQItem Method
GetLayerName Method
SetLayerName Method
AddLayerImageReference Method
GetLayerImageReferenceCount Method
RemoveImageReferenceFromLayer Method
RemoveAllImageReferencesFromLayer Method
RemoveAllImageReferences Method
GetLayerImageReferenceElement Method

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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