IUIX_Dialog::ShowLayer Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Dialog::ShowLayer Method}}
 
{{#customTitle:IUIX_Dialog::ShowLayer Method}}
 +
{{#parentPage:PXV:IUIX_Dialog#Methods|ShowLayer|method}}
  
The method of interface of PDF-XChange Editor SDK.
+
 
 +
Shows/hides all items that belong to given layer.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT ShowLayer([in] BSTR pLayerName, [in, defaultvalue(-1)] VARIANT_BOOL bShow);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT ShowLayer([in]                   BSTR         sLayerName,
 +
                  [in, defaultvalue(-1)] VARIANT_BOOL bShow);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pLayerName''
+
;sLayerName
:[in]  Value of BSTR.
+
:[in]  name of the layer.
;''bShow''
+
;bShow
:[in, defaultvalue(-1)]  Value of VARIANT_BOOL.
+
:[in, defaultvalue(-1)]  shows layer items if '''bShow''' is set to VARIANT_TRUE, or hides them if set to VARIANT_FALSE.
  
 
== Return Value ==
 
== Return Value ==
Returns S_OK if operation was successful or error code in other cases.
+
Returns S_OK if the operation was successful, or will return an error code if it fails.  
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_Dialog|IUIX_Dialog]].
+
[[PXV:IUIX_Dialog|IUIX_Dialog]]

Latest revision as of 16:10, 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 the operation was successful, or will return an error code if it fails.

See Also

IUIX_Dialog