Creates a new compound graphic annotation object.
#include "ltdic.h"
L_UINT16 LDicomDS::CreateCompoundGraphic(pGraphicAnnSQItem, pCompoundGraphicObject, bCheckLayer)
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:
Value | Meaning |
---|---|
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. |
Value | Meaning |
---|---|
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.
Win32, x64
For an example, refer to LDicomDS::GetCompoundGraphicCount.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document