IPXC_AcroForm::CreateField Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CreateField([in] BSTR sName, [in] PXC_FormFieldType nType, [out, retval] IPXC_FormField** ppField);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT CreateField([in] LPWSTR sName, [in] PXC_FormFieldType nType, [out, retval] IPXC_FormField** ppField);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;''sName''
 
;''sName''
:[in]  Value of BSTR.
+
:[in]  Value of LPWSTR.
 
;''nType''
 
;''nType''
 
:[in]  Value of [[PXV:PXC_FormFieldType|PXC_FormFieldType]].
 
:[in]  Value of [[PXV:PXC_FormFieldType|PXC_FormFieldType]].

Revision as of 11:56, 24 March 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT CreateField([in] LPWSTR sName, [in] PXC_FormFieldType nType, [out, retval] IPXC_FormField** ppField);

Parameters

sName
[in] Value of LPWSTR.
nType
[in] Value of PXC_FormFieldType.
ppField
[out, retval] Pointer to IPXC_FormField.

Return Value

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

See Also

See also IPXC_AcroForm.