ImageGear Professional DLL v17.1 for Windows Accusoft
MED_DCM_DS_part10_set
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > MD Component API Reference > MD Component Functions Reference > Data Set Functions > MED_DCM_DS_part10_set

Glossary Item Box

This function sets the data of the item in the Part 10 header identified by part10_item.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI MED_DCM_DS_part10_set(        const HIGEAR hIGear, 
        const AT_MODE part10_item, 
        const LPVOID lpData, 
        const AT_DCM_VL vl);

Arguments:

hIGear HIGEAR handle to the image.
part10_item Set this variable to the type of Part 10 item you would like to set. Use one of the constants defined in DCM.h that begin with DCM_PART10_ITEM_.
lpData A far VOID pointer to the data that you would like to store into the Part 10 item.
vl Set to the length of the Data Field, in bytes. 

Supported Raster Image Formats:

This function does not process image pixels.

The image must have a DICOM DataSet attached to it. Use MED_DCM_DS_exists to check whether the image contains a DataSet.

Return Value:

Returns the number of ImageGear errors that occurred during the function call.

©2012. Accusoft Corporation. All Rights Reserved.