ImageGear for C and C++ on Windows v19.6 - Updated
IG_PDF_basdict_put
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Basic Objects > HIG_PDF_BASDICT > IG_PDF_basdict_put

Sets the value of a dictionary key, adding the key to the dictionary if it is not already present.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_basdict_put(
        HIG_PDF_BASOBJ hDictionary,
        HIG_PDF_ATOM hKey,
        HIG_PDF_BASOBJ hObject
);

Arguments:

Name Type Description
hDictionary HIG_PDF_BASOBJ The dictionary in which a value is set.
hKey HIG_PDF_ATOM The key whose value is set. See the PDF Reference to obtain the names of keys in dictionary objects that are part of standard PDF, such as annotations or page objects.
hObject HIG_PDF_BASOBJ The value to set.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.