Share via


System.Gadget.opacity Property

Gets the gadget opacity.

This property is read-only.

Syntax

propVal = System.Gadget.opacity()

  

Parameters

  • intOpacity [out]
    Retrieves the opacity of the gadget. The value ranges from 0 to 100.

    Value Meaning
    0

    The gadget is completely transparent.

    100

    The gadget is completely opaque.

     

Remarks

The opacity can be specified in the gadget HTML and script files.

Examples

The following example demonstrates how to get the opacity of a gadget.

var mytext = "opacity: " + System.Gadget.opacity;

Requirements

Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
IDL Sidebar.idl
DLL Sidebar.Exe version 1.00 or later

See Also

System.Gadget

 

 

Send comments about this topic to Microsoft

Build date: 2/24/2010

Build type: SDK