ImageGear for C and C++ on Windows v19.1 - Updated
IG_PDF_basbool_create
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Basic Objects > HIG_PDF_BASBOOL > IG_PDF_basbool_create

Creates a new Boolean object associated with the specified document and having the specified value.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_basbool_create(
        HIG_PDF_DOC hDoc,
        AT_PDF_BOOL bIndirect,
        AT_PDF_BOOL bValue,
        LPHIG_PDF_BASOBJ lphBool 
);

Arguments:

Name Type Description
hDoc HIG_PDF_DOC The document in which the Boolean is used.
bIndirect AT_PDF_BOOL If TRUE, creates the Boolean object as an indirect object. If FALSE, creates the Boolean as a direct object.
bValue AT_PDF_BOOL The value the new Boolean will have.
lphBool LPHIG_PDF_BASOBJ A Boolean object.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.