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*    Doc,
+
<pre class="brush:cpp;gutter:false">HRESULT SetOCState([in]  IPXC_Document*    pDoc,
                   [in]  IPXS_PDFVariant*  OCObj,
+
                   [in]  IPXS_PDFVariant*  pOCObj,
                   [in]  VARIANT_BOOL      Visible);</pre>
+
                   [in]  VARIANT_BOOL      bVisible);</pre>
  
 
== Parameters ==
 
== Parameters ==
;Doc
+
;pDoc
 
:[in]  Pointer to [[PXV:IPXC_Document|IPXC_Document]].
 
:[in]  Pointer to [[PXV:IPXC_Document|IPXC_Document]].
;OCObj
+
;pOCObj
 
:[in]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]].
 
:[in]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]].
;Visible
+
;bVisible
 
:[in]  Value of VARIANT_BOOL.
 
:[in]  Value of VARIANT_BOOL.
  

Latest revision as of 03:31, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT SetOCState([in]  IPXC_Document*    pDoc,
                   [in]  IPXS_PDFVariant*  pOCObj,
                   [in]  VARIANT_BOOL      bVisible);

Parameters

pDoc
[in] Pointer to IPXC_Document.
pOCObj
[in] Pointer to IPXS_PDFVariant.
bVisible
[in] Value of VARIANT_BOOL.

Return Value

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

See Also

IPXC_OCContext