Export (0) Print
Expand All

allowTransparency property

Sets or retrieves whether the object can be transparent.

Syntax

HRESULT value = object.put_allowTransparency( v);HRESULT value = object.get_allowTransparency(* 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.

 

 

Community Additions

ADD
Show:
© 2014 Microsoft