IPXV_Inst::ShowCmdBar Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
(→Parameters) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT ShowCmdBar([in] BSTR | + | <pre class="brush:cpp;gutter:false">HRESULT ShowCmdBar([in] BSTR sBarID, |
− | [in] VARIANT_BOOL | + | [in] VARIANT_BOOL bShow);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;sBarID |
:[in] A string containing the unique identifier of toolbar. For example: | :[in] A string containing the unique identifier of toolbar. For example: | ||
::cmdbar.menubar | ::cmdbar.menubar | ||
Line 19: | Line 19: | ||
::cmdbar.zoom | ::cmdbar.zoom | ||
::cmdbar.pageNav | ::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. | :[out, retval] Specifies the new visibility flag. | ||
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