allowTransparency property

[This documentation is preliminary and is subject to change.]

Sets or retrieves whether the object can be transparent.

Syntax

HRESULT value = object.put_allowTransparency(VARIANT_BOOL v);HRESULT value = object.get_allowTransparency(VARIANT_BOOL* p);

Property values

Type: VARIANT_BOOL

VARIANT_FALSE (false)

Default. Object is opaque. It cannot be transparent.

VARIANT_TRUE (true)

Object can be transparent.

Standards information

There are no standards that apply here.

Remarks

When the property is set to VARIANT_FALSE, the IHTMLRuleStyle::backgroundColor property of the object can only be that of the window. When the property is set to VARIANT_TRUE, the IHTMLRuleStyle::backgroundColor property of the object can be set to any value, including the default value of transparent.

 

 

Build date: 6/12/2012

Community Additions

Show: