public void CreateGraphicObject(
DicomElement graphicAnnSQItem,
DicomGraphicObject graphicObject,
bool checkLayer
)
public:
void CreateGraphicObject(
DicomElement^ graphicAnnSQItem,
DicomGraphicObject^ graphicObject,
bool checkLayer
)
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.
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.
For an example, refer to FindFirstGraphicAnnSQItem.
FindFirstGraphicAnnSQItem Method
GetGraphicObjectInformation Method
SetGraphicObjectInformation Method
RemoveAllGraphicObjects Method