ImageGear for C and C++ on Windows v19.4 - Updated
MED_PS_pres_LUT_get
API Reference Guide > MD Component API Reference > MD Component Functions Reference > Presentation State Functions > MED_PS_pres_LUT_get

This function fills the Presentation LUT with the data contained in the Presentation State DataSet.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI MED_PS_pres_LUT_get(
        HIGEAR hIGearPresState,
        LPAT_MED_LUT_DESC lpPresLUTInfo
);

Arguments:

Name Type Description
hIGearPresState HIGEAR Image that contains Presentation State DataSet .
lpPresLUTInfo LPAT_MED_LUT_DESC Presentation LUT info.

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.