ImageGear for C and C++ on Linux v18.8 - Updated
IG_PDF_basdict_put_bool
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Basic Objects > HIG_PDF_BASDICT > IG_PDF_basdict_put_bool

Sets the Boolean 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_bool(
        HIG_PDF_BASOBJ hDictionary,
        HIG_PDF_ATOM hKey,
        AT_PDF_BOOL bIndirect,
        AT_PDF_BOOL bValue 
);

Arguments:

Name Type Description
hDictionary HIG_PDF_BASOBJ The dictionary in which a value is set.
hKey a href="IGDLL-26-079.html">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.
bIndirect AT_PDF_BOOL If true, creates the key value as an indirect object. If FALSE, creates the key value as a direct object.
bValue AT_PDF_BOOL The Boolean value to set.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.