ImageGear for C and C++ on Linux v19.10 - Updated
IG_PDE_form_create
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_FORM > IG_PDE_form_create

Creates a new form from an existing object.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_form_create (
        HIG_PDF_BASOBJ hXObject,
        HIG_PDF_BASOBJ hResources,
        LPAT_PDF_FIXEDMATRIX lpMatrix,
        LPHIG_PDE_FORM lphForm 
);

Arguments:

Name Type Description
hXObject HIG_PDF_BASOBJ XObject from which a form is created.
hResources HIG_PDF_BASOBJ The hXObject's Resources dictionary. If you do not pass in a Resource object, subsequent calls to IG_PDF_page_get_content will fail (after the file is saved).
lpMatrix LPAT_PDF_FIXEDMATRIX Pointer to AT_PDF_FIXEDMATRIX that holds the transformation matrix to use for the form.
lphForm LPHIG_PDE_FORM The newly created form object.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

Call IG_PDE_element_release to dispose of the object.