ImageGear for C and C++ on Windows v19.10 - Updated
IG_PDE_xobject_create
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_XOBJECT > IG_PDE_xobject_create

Creates a new XObject from hObject.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_xobject_create(
        HIG_PDF_BASOBJ hBasObj, 
        LPHIG_PDE_XOBJECT lphXObject 
);

Arguments:

Name Type Description
hBasObj HIG_PDF_BASOBJ Base object for XObject.
lphXObject LPHIG_PDE_XOBJECT XObject corresponding to the hBasObj.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

Call IG_PDE_element_release to dispose the created object when finished with it.