IUIX_Dialog::EnableLayer Method

From Tracker Software PDF SDK
Revision as of 14:12, 15 June 2015 by Johnv (Talk | contribs)

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


Enables/disables all items of a required layer.

Syntax

HRESULT EnableLayer([in]                    BSTR          sLayerName,
                    [in, defaultvalue(-1)]  VARIANT_BOOL  bEnable);

Parameters

sLayerName
[in] a name of a layer to enable/disable.
bEnable
[in, defaultvalue(-1)] enables all layer items if this parameter is set to VARIANT_TRUE, or disables 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