ImageGear Professional > API Reference Guide > MD Component API Reference > MD Component Functions Reference > Data Set Functions > MED_DCM_DS_TS_set |
This function sets the Transfer Syntax value in the Part 10 Header for "Transfer Syntax UID" Data Element (0002,0010).
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI MED_DCM_DS_TS_set(
HIGEAR hIGear,
const AT_MODE Transfer_syntax
);
|
Name | Type | Description |
hIGear | HIGEAR | HIGEAR handle of the image. |
Transfer_syntax | const AT_MODE | Set to the type of transfer syntax that you would like to store in the Transfer Syntax field of the Part 10 header. |
Returns the number of ImageGear errors that occurred during the function call.
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. |
This value overrides that set by MED_DCM_DS_create() function.
Transfer_syntax must be set to one of the following supported Transfer Syntax constants: