L_LTDIC_API L_UINT16 L_DicomCreateCompoundGraphic(hDS, pGraphicAnnSQItem, pCompoundGraphicObject, bCheckLayer)
Creates a new compound graphic annotation object.
A DICOM handle.
Pointer to an item element under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".
Address of a DICOMCOMPOUNDGRAPHIC structure that defines the compound graphic annotation object.
Flag that indicates whether to create an Associate Request or an Associate Accept. possible values are:
|TRUE||Verify the existence of the layer to which the new object will be added (the function will fail if the layer does not exist).|
|FALSE||Do not verify the existence of the layer to which the new object will be added.|
|DICOM_SUCCESS||The function was successful.|
|>0||An error occurred. Refer to Return Codes .|
When bCheckLayer is set to TRUE, the function checks if the layer specified in graphicObject exists. If it does not exist, the function will fail.
Required DLLs and Libraries
Win32, x64, Linux.
For an example, refer to L_DicomGetCompoundGraphicCount.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries