IPXV_Inst::ShowCmdBar Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
(Parameters)
 
(8 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
{{#customTitle:IPXV_Inst::ShowCmdBar Method}}
 
{{#customTitle:IPXV_Inst::ShowCmdBar Method}}
 
{{#parentPage:PXV:IPXV_Inst#Methods|ShowCmdBar|method}}
 
{{#parentPage:PXV:IPXV_Inst#Methods|ShowCmdBar|method}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Changes the visibility state of specified command-bar.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT ShowCmdBar([in]  BSTR          pBarID,
+
<pre class="brush:cpp;gutter:false">HRESULT ShowCmdBar([in]  BSTR          sBarID,
 
                   [in]  VARIANT_BOOL  bShow);</pre>
 
                   [in]  VARIANT_BOOL  bShow);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pBarID
+
;sBarID
:[in]  Value of BSTR.
+
:[in]  A string containing the unique identifier of toolbar. For example:
 +
::cmdbar.menubar
 +
::cmdbar.file
 +
::cmdbar.standard
 +
::cmdbar.zoom
 +
::cmdbar.pageNav
 +
::cmdbar.rotateView
 +
::cmdbar.contentEditing
 +
::cmdbar.pageLayout
 +
::cmdbar.docOptions
 +
::cmdbar.commenting
 +
::cmdbar.measurement
 +
::cmdbar.properties
 +
::cmdbar.launchApp
 +
::...
 
;bShow
 
;bShow
:[inValue of VARIANT_BOOL.
+
:[out, retvalSpecifies the new visibility flag.
  
 
== Return Value ==
 
== Return Value ==
Line 22: Line 35:
  
 
== See Also ==
 
== See Also ==
[[PXV:IPXV_Inst|IPXV_Inst]]
+
[[PXV:IPXV_Inst|IPXV_Inst]], [[PXV:IPXV_Inst_IsCmdBarVisible|IPXV_Inst::IsCmdBarVisible]], [[PXV:IPXV_Inst_ShowCmdBar2|IPXV_Inst::ShowCmdBar2]]

Latest revision as of 00:58, 25 January 2016


Changes the visibility state of specified command-bar.

Syntax

HRESULT ShowCmdBar([in]  BSTR          sBarID,
                   [in]  VARIANT_BOOL  bShow);

Parameters

sBarID
[in] A string containing the unique identifier of toolbar. For example:
cmdbar.menubar
cmdbar.file
cmdbar.standard
cmdbar.zoom
cmdbar.pageNav
cmdbar.rotateView
cmdbar.contentEditing
cmdbar.pageLayout
cmdbar.docOptions
cmdbar.commenting
cmdbar.measurement
cmdbar.properties
cmdbar.launchApp
...
bShow
[out, retval] Specifies the new visibility flag.

Return Value

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

See Also

IPXV_Inst, IPXV_Inst::IsCmdBarVisible, IPXV_Inst::ShowCmdBar2