IPXC_AcroForm::GetFieldByPDFObject Method

From Tracker Software PDF SDK
Revision as of 06:22, 13 May 2015 by Stefan (Talk | contribs)

Jump to: navigation, search


Looks up and returns the field specified by its pdf object. If the specified pdf object is a widget's object, this method will return the form field to which that widget belongs.

Syntax

HRESULT GetFieldByPDFObject([in]           IPXS_PDFVariant*  pVariant,
                            [out, retval]  IPXC_FormField**  ppField);

Parameters

pVariant
[in] The pdf object of the field this method will look for.
ppField
[out, retval] Returns a IPXC_FormField object if the specified form field was found or nullptr otherwise.

Return Value

Returns S_OK if operation was successful or an error code in other cases.

See Also

See also IPXC_AcroForm, IPXC_FormField, IPXS_PDFVariant.