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 1: Line 1:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_OCContext::SetOCState Method}}
 
{{#customTitle:IPXC_OCContext::SetOCState Method}}
{{#parentPage:PXV:IPXC_OCContext|method}}
+
{{#parentPage:PXV:IPXC_OCContext|SetOCState Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT SetOCState([in] IPXC_Document* pDoc, [in] IPXS_PDFVariant* pOCObj, [in] VARIANT_BOOL bVisible);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT SetOCState([in] IPXC_Document*   pDoc,
 +
                  [in] IPXS_PDFVariant* pOCObj,
 +
                  [in] VARIANT_BOOL     bVisible);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pDoc''
+
;pDoc
 
:[in]  Pointer to [[PXV:IPXC_Document|IPXC_Document]].
 
:[in]  Pointer to [[PXV:IPXC_Document|IPXC_Document]].
;''pOCObj''
+
;pOCObj
 
:[in]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]].
 
:[in]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]].
;''bVisible''
+
;bVisible
 
:[in]  Value of VARIANT_BOOL.
 
:[in]  Value of VARIANT_BOOL.
  

Revision as of 06:08, 23 April 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

See also IPXC_OCContext.