IUIX_Dialog::ShowLayer Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT ShowLayer([in] BSTR | + | <pre class="brush:cpp;gutter:false">HRESULT ShowLayer([in] BSTR sLayerName, |
[in, defaultvalue(-1)] VARIANT_BOOL bShow);</pre> | [in, defaultvalue(-1)] VARIANT_BOOL bShow);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;sLayerName |
:[in] name of the layer. | :[in] name of the layer. | ||
;bShow | ;bShow |
Revision as of 04:19, 15 June 2015
Shows/hides all items that belong to given layer.
Syntax
HRESULT ShowLayer([in] BSTR sLayerName, [in, defaultvalue(-1)] VARIANT_BOOL bShow);
Parameters
- sLayerName
- [in] name of the layer.
- bShow
- [in, defaultvalue(-1)] shows layer items if bShow is set to VARIANT_TRUE, or hides them if set to VARIANT_FALSE.
Return Value
Returns S_OK if operation was successful or error code in other cases.