IPXC_OCContext::SetOCState Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 9: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT SetOCState([in]  IPXC_Document*    pDoc,
+
<pre class="brush:cpp;gutter:false">HRESULT SetOCState([in]  IPXC_Document*    Doc,
                   [in]  IPXS_PDFVariant*  pOCObj,
+
                   [in]  IPXS_PDFVariant*  OCObj,
                   [in]  VARIANT_BOOL      bVisible);</pre>
+
                   [in]  VARIANT_BOOL      Visible);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pDoc
+
;Doc
 
:[in]  Pointer to [[PXV:IPXC_Document|IPXC_Document]].
 
:[in]  Pointer to [[PXV:IPXC_Document|IPXC_Document]].
;pOCObj
+
;OCObj
 
:[in]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]].
 
:[in]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]].
;bVisible
+
;Visible
 
:[in]  Value of VARIANT_BOOL.
 
:[in]  Value of VARIANT_BOOL.
  

Revision as of 07:07, 12 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT SetOCState([in]  IPXC_Document*    Doc,
                   [in]  IPXS_PDFVariant*  OCObj,
                   [in]  VARIANT_BOOL      Visible);

Parameters

Doc
[in] Pointer to IPXC_Document.
OCObj
[in] Pointer to IPXS_PDFVariant.
Visible
[in] Value of VARIANT_BOOL.

Return Value

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

See Also

IPXC_OCContext