←Select platform

CreateGraphicObject Method

Summary

Creates a new graphic annotation object.

Syntax

C#
VB
WinRT C#
C++
public void CreateGraphicObject(  
   Leadtools.Dicom.DicomElement graphicAnnSQItem, 
   Leadtools.Dicom.DicomGraphicObject graphicObject, 
   bool checkLayer 
) 
Public Sub CreateGraphicObject( _ 
   ByVal graphicAnnSQItem As Leadtools.Dicom.DicomElement, _ 
   ByVal graphicObject As Leadtools.Dicom.DicomGraphicObject, _ 
   ByVal checkLayer As Boolean _ 
)  
public void CreateGraphicObject(  
   Leadtools.Dicom.DicomElement graphicAnnSQItem, 
   Leadtools.Dicom.DicomGraphicObject graphicObject, 
   bool checkLayer 
) 
 function Leadtools.Dicom.DicomDataSet.CreateGraphicObject(  
   graphicAnnSQItem , 
   graphicObject , 
   checkLayer  
) 
public: 
void CreateGraphicObject(  
   Leadtools.Dicom.DicomElement^ graphicAnnSQItem, 
   Leadtools.Dicom.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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Dicom Assembly
Click or drag to resize