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

CreateGraphicObject Method








An item element under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".
Graphic object attributes
true to verify the existence of the layer to which the new object will be added (the method will fail if the layer does not exist); false to add the new object without verifying the existence of the layer.
Creates a new graphic annotation object. .NET support WinRT support Silverlight support
Syntax
public void CreateGraphicObject( 
   DicomElement graphicAnnSQItem,
   DicomGraphicObject graphicObject,
   bool checkLayer
)
'Declaration
 
Public Sub CreateGraphicObject( _
   ByVal graphicAnnSQItem As DicomElement, _
   ByVal graphicObject As DicomGraphicObject, _
   ByVal checkLayer As Boolean _
) 
'Usage
 
Dim instance As DicomDataSet
Dim graphicAnnSQItem As DicomElement
Dim graphicObject As DicomGraphicObject
Dim checkLayer As Boolean
 
instance.CreateGraphicObject(graphicAnnSQItem, graphicObject, checkLayer)
public void CreateGraphicObject( 
   DicomElement graphicAnnSQItem,
   DicomGraphicObject graphicObject,
   bool checkLayer
)
ObjectiveC Syntax
 function Leadtools.Dicom.DicomDataSet.CreateGraphicObject( 
   graphicAnnSQItem ,
   graphicObject ,
   checkLayer 
)
public:
void CreateGraphicObject( 
   DicomElement^ graphicAnnSQItem,
   DicomGraphicObject^ graphicObject,
   bool checkLayer
) 

Parameters

graphicAnnSQItem
An item element under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".
graphicObject
Graphic object attributes
checkLayer
true to verify the existence of the layer to which the new object will be added (the method will fail if the layer does not exist); false to add the new object without verifying the existence of the layer.
Remarks
When checkLayer is set to true, the method checks if the layer specified in graphicObject exists or not. If it does not exist, the method will throw an exception.
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
CreateGraphicAnnSQItem Method
RemoveGraphicObject Method
GetGraphicObjectInformation Method
SetGraphicObjectInformation Method
GetGraphicObjectCount Method
RemoveAllGraphicObjects Method
GetGraphicObjPointCount Method
GetGraphicObjElement 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