LEADTOOLS Medical
LEAD Technologies, Inc

IncrementGraphicGroupId Method






Increments the GraphicGroupId to a new,unused value that can be assigned to the next group.
Syntax
public int IncrementGraphicGroupId()
'Declaration
 
Public Function IncrementGraphicGroupId() As Integer
'Usage
 
Dim instance As DicomAnnotationsUtilities
Dim value As Integer
 
value = instance.IncrementGraphicGroupId()
public int IncrementGraphicGroupId()
 function Leadtools.Dicom.Annotations.Core.DicomAnnotationsUtilities.IncrementGraphicGroupId()
public:
int IncrementGraphicGroupId(); 

Return Value

The new value for GraphicGroupId.
Remarks
Certain LEAD Leadtools.Annotations.Core.AnnObject are converted to two or more Leadtools.Dicom.DicomAnnotationObject, which are then "grouped" together. The DicomAnnotationsUtilities class maintains a GraphicGroupId that is used for each generated group. Once a GraphicGroupId is assigned to a group, it must no longer be used. The IncrementGraphicGroupId function is used to increment to the next unused value. The default behavior of this function is to add one to the previous GraphicGroupId, but this behavior can be changed by subscribing to the Leadtools.Dicom.Annotations.Core.DicomAnnotationsUtilities.OnIncrementGraphicGroupId event, and changing the value of GraphicGroupId.
Example
For an example, refer to FromAnnContainerToDataSet.
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

DicomAnnotationsUtilities Class
DicomAnnotationsUtilities Members

 

 


Products | Support | Contact Us | Copyright Notices

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

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