ImageGear for C and C++ on Windows v19.7 - Updated
MED_DCM_DS_TS_get
API Reference Guide > MD Component API Reference > MD Component Functions Reference > Data Set Functions > MED_DCM_DS_TS_get

This function returns the Transfer Syntax constant that corresponds to the value of DCM_PART10_ITEM_TRANSSYNTAXUID part 10 item in the DataSet.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI MED_DCM_DS_TS_get( 
        const HIGEAR hIGear, 
        LPAT_MODE lpTransfer_syntax
);

Arguments:

Name Type Description
hIGear const HIGEAR HIGEAR handle of the image.
lpTransfer_syntax LPAT_MODE Returns the Transfer Syntax constant that corresponds to the DCM_PART10_ITEM_TRANSSYNTAXUID part 10 item in the DataSet.

Return Value:

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

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.

Remarks:

lpTransfer_syntax returns one of the Transfer Syntax constants, defined in enumIGMedTS enumeration.