IUIX_Dialog::IsLayerVisible Method

From PDF XChange PDF SDK
Jump to: navigation, search
(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::IsLayerVisible Method}}
 
{{#customTitle:IUIX_Dialog::IsLayerVisible Method}}
 +
{{#parentPage:PXV:IUIX_Dialog#Methods|IsLayerVisible|method}}
  
The method of interface of PDF-XChange Editor SDK.
+
 
 +
Checks if a required layer is in visible state.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT IsLayerVisible([in] BSTR pLayerName, [out, retval] VARIANT_BOOL* pVisible);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT IsLayerVisible([in]           BSTR           sLayerName,
 +
                      [out, retval] VARIANT_BOOL* bVisible);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pLayerName''
+
;sLayerName
:[in]  Value of BSTR.
+
:[in]  name of the layer.
;''pVisible''
+
;bVisible
:[out, retval]  Pointer to VARIANT_BOOL.
+
:[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 ==
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