L_DicomCreateCompoundGraphic

#include "ltdic.h"

L_LTDIC_API L_UINT16 L_DicomCreateCompoundGraphic(hDS, pGraphicAnnSQItem, pCompoundGraphicObject, bCheckLayer)

HDICOMDS hDS;

A DICOM handle

pDICOMELEMENT pGraphicAnnSQItem;

Pointer to a DICOMELEMENT structure

pDICOMCOMPOUNDGRAPHIC pCompoundGraphicObject; Address of a DICOMCOMPOUNDGRAPHIC structure that defines the compound graphic annotation object
L_BOOL bCheckLayer; Flag that indicates whether to check if the layer specified in the graphic Object exists.

Creates a new compound graphic annotation object.

Parameter Description
hDS

A DICOM handle.

pGraphicAnnSQItem

Pointer to an item element under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".

pCompoundGraphicObject Address of a DICOMCOMPOUNDGRAPHIC structure that defines the compound graphic annotation object
bCheckLayer 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.

Returns

DICOM_SUCCESS

The function was successful.

>0

An error occurred. Refer to Return Codes.

Comments

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

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

Platforms

Win32, x64, Linux.

Help Version 20.0.2019.3.12
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help