IPXC_AcroForm::GetFieldByName Method

From PDF XChange PDF SDK
Jump to: navigation, search
Line 2: Line 2:
 
{{#customTitle:IPXC_AcroForm::GetFieldByName Method}}
 
{{#customTitle:IPXC_AcroForm::GetFieldByName Method}}
  
Retrieves a [[PXV:IPXV_FormField|field]] with a given name from a form.
+
Retrieves a [[PXV:IPXC_FormField|field]] with a given name from a form.
  
 
== Syntax ==
 
== Syntax ==

Revision as of 21:50, 12 April 2015

Retrieves a field with a given name from a form.

Syntax

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

Parameters

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

Return Value

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

See Also

See also IPXC_AcroForm, IPXC_FormField.