Visual Basic (Declaration) | |
---|---|
Public Sub CreateGraphicObject( _ ByVal graphicAnnSQItem As DicomElement, _ ByVal graphicObject As DicomGraphicObject, _ ByVal checkLayer As Boolean _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void CreateGraphicObject( DicomElement graphicAnnSQItem, DicomGraphicObject graphicObject, bool checkLayer ) |
Managed Extensions for C++ | |
---|---|
public: void CreateGraphicObject( DicomElement* graphicAnnSQItem, DicomGraphicObject* graphicObject, bool checkLayer ) |
C++/CLI | |
---|---|
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.
For an example, refer to FindFirstGraphicAnnSQItem.
When checkLayer is set to true, the method checks if the
layer specified in LayerName exists or not.
If it does not exist, the method will throw an exception.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Reference
DicomDataSet ClassDicomDataSet Members
FindFirstGraphicAnnSQItem Method
CreateGraphicAnnSQItem Method
RemoveGraphicObject Method
GetGraphicObjectInformation Method
SetGraphicObjectInformation Method
GetGraphicObjectCount Method
RemoveAllGraphicObjects Method
GetGraphicObjPointCount Method
GetGraphicObjElement Method