IUIX_Dialog::EnableLayer Method
From PDF XChange PDF SDK
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.