IPXC_AcroForm::GetFieldByName Method

From PDF XChange PDF SDK
Jump to: navigation, search

Retrieves the field with the given name from a form.

Syntax

HRESULT GetFieldByName([in]           LPWSTR            sName,
                       [out, retval]  IPXC_FormField**  ppField);

Parameters

sName
[in] The name of the field to retrieve.
ppField
[out, retval] Pointer to a IPXC_FormField variable that will receive the object of the field when the form contains a field with the specified name.

Return Value

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

See Also

IPXC_AcroForm