Share via


ColorFormat.Brightness Property

Gets or sets the luminosity of the specified object.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property Brightness As Single
    Get
    Set
'Usage
Dim instance As ColorFormat
Dim value As Single

value = instance.Brightness

instance.Brightness = value
float Brightness { get; set; }

Property Value

Type: System.Single
The luminosity of the specified object.

Remarks

Read/write.

The value for this property must be a number from 0.0 (dimmest) to 1.0 (brightest).

See Also

Reference

ColorFormat Interface

ColorFormat Members

Microsoft.Office.Interop.Excel Namespace