ImageGear for C and C++ on Windows v19.6 - Updated
IG_PDE_element_clone
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_ELEMENT > IG_PDE_element_clone

Makes a copy of an element.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_element_clone(
        HIG_PDE_ELEMENT hElement,
        LONG nFlags,
        LPHIG_PDE_ELEMENT lphCloneElement
);

Arguments:

Name Type Description
hElement HIG_PDE_ELEMENT The element to copy.
nFlags LONG Bit field of enumIGPDEElementCopyFlags.
lphCloneElement LPHIG_PDE_ELEMENT A copy of hElement.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

The caller is responsible for releasing the copy with IG_PDE_element_release.