IUIX_Dialog::IsLayerVisible Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(4 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Dialog::IsLayerVisible Method}}
 
{{#customTitle:IUIX_Dialog::IsLayerVisible Method}}
{{#parentPage:PXV:IUIX_Dialog|IsLayerVisible Method|method}}
+
{{#parentPage:PXV:IUIX_Dialog#Methods|IsLayerVisible|method}}
{{ToReview}}
+
 
  
 
Checks if a required layer is in visible state.
 
Checks if a required layer is in visible state.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT IsLayerVisible([in]          BSTR          pLayerName,
+
<pre class="brush:cpp;gutter:false">HRESULT IsLayerVisible([in]          BSTR          sLayerName,
                       [out, retval]  VARIANT_BOOL*  pVisible);</pre>
+
                       [out, retval]  VARIANT_BOOL*  bVisible);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pLayerName
+
;sLayerName
 
:[in]  name of the layer.
 
:[in]  name of the layer.
;pVisible
+
;bVisible
 
:[out, retval]  returns VARIANT_TRUE if the layer is visible or VARIANT_FALSE otherwise.
 
:[out, retval]  returns VARIANT_TRUE if the layer is visible or VARIANT_FALSE otherwise.
  
 
== 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 ==
[[PXV:IUIX_Dialog|IUIX_Dialog]].
+
[[PXV:IUIX_Dialog|IUIX_Dialog]]

Latest revision as of 15:38, 15 June 2015


Checks if a required layer is in visible state.

Syntax

HRESULT IsLayerVisible([in]           BSTR           sLayerName,
                       [out, retval]  VARIANT_BOOL*  bVisible);

Parameters

sLayerName
[in] name of the layer.
bVisible
[out, retval] returns VARIANT_TRUE if the layer is visible or VARIANT_FALSE otherwise.

Return Value

Returns S_OK if the operation was successful, or will return an error code if it fails.

See Also

IUIX_Dialog