ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / PDF Component API Reference / PDF Component Objects Reference / Page Editing Objects and Elements / HIG_PDE_ELEMENT / IG_PDE_element_clone
In This Topic
    IG_PDE_element_clone
    In This Topic

    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.