IUIX_Dialog::ShowLayer Method

From PDF XChange PDF SDK
Revision as of 16:10, 15 June 2015 by Johnv (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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