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)
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
{{#customTitle:IPXV_Control::SetLicKey Method}}
 
{{#customTitle:IPXV_Control::SetLicKey Method}}
 
{{#parentPage:PXV:IPXV_Control#Methods|SetLicKey|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 class="brush:cpp;gutter:false">HRESULT SetLicKey([in]          BSTR          sKey,
                   [out, retval]  VARIANT_BOOL*  pKeyOK);</pre>
+
                   [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.
;pKeyOK
+
;bKeyOK
:[out, retval]  Pointer to VARIANT_BOOL.
+
:[out, retval]  Returns the <tt>true</tt> value when key is valid and approved and <tt>false</tt> otherwise.
  
 
== Return Value ==
 
== Return Value ==

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