IPXV_Control::SetLicKey Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_Control::SetLicKey Method}}
 
{{#customTitle:IPXV_Control::SetLicKey Method}}
{{#parentPage:PXV:IPXV_Control|SetLicKey Method|method}}
+
{{#parentPage:PXV:IPXV_Control#Methods|SetLicKey|method}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Specifies the developer's license key to prevent showing the DEMO labels across the pages.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT SetLicKey([in] BSTR  pKey);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT SetLicKey([in]           BSTR           sKey,
 +
                  [out, retval]  VARIANT_BOOL* bKeyOK);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pKey
+
;sKey
:[in]  Value of BSTR.
+
:[in]  The unicode string that contains the body of the license key.
 +
;bKeyOK
 +
:[out, retval]  Returns the <tt>true</tt> value when key is valid and approved and <tt>false</tt> otherwise.
  
 
== Return Value ==
 
== Return Value ==
Line 19: Line 21:
  
 
== See Also ==
 
== See Also ==
[[PXV:IPXV_Control|IPXV_Control]].
+
[[PXV:IPXV_Control|IPXV_Control]]

Latest revision as of 03:50, 15 June 2015


Specifies the developer's license key to prevent showing the DEMO labels across the pages.

Syntax

HRESULT SetLicKey([in]           BSTR           sKey,
                  [out, retval]  VARIANT_BOOL*  bKeyOK);

Parameters

sKey
[in] The unicode string that contains the body of the license key.
bKeyOK
[out, retval] Returns the true value when key is valid and approved and false otherwise.

Return Value

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

See Also

IPXV_Control