LEADTOOLS Medical
LEAD Technologies, Inc

IncrementCompoundGraphicInstanceId Method






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

Return Value

The new value for CompoundGraphicInstanceId.
Remarks
When a LEAD Leadtools.Annotations.Core.AnnObject is converted to a Leadtools.Dicom.DicomCompoundGraphic, it will be assigned a unique CompoundGraphicInstanceId. The DicomAnnotationsUtilities class maintains a CompoundGraphicInstanceId that is used for each DICOM Compound Graphic. Once a CompoundGraphicInstanceId is assigned to a DICOM Compound Graphic, it must no longer be used. The IncrementCompoundGraphicInstanceId function is used to increment to the next unused value. The default behavior of this function is to add one to the previous CompoundGraphicInstanceId, but this behavior can be changed by subscribing to the Leadtools.Dicom.Annotations.Core.DicomAnnotationsUtilities.OnIncrementCompoundGraphicInstanceId event, and changing the value of CompoundGraphicInstanceId.
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