IUIX_Dialog::IsLayerVisible Method

From PDF XChange PDF SDK
Jump to: navigation, search


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