Share via


LineFormat.Transparency Property

Returns or sets the degree of transparency of the specified fill as a value from 0.0 (opaque) through 1.0 (clear).

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

Syntax

'Declaration
Property Transparency As Single
    Get
    Set
'Usage
Dim instance As LineFormat
Dim value As Single

value = instance.Transparency

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

Property Value

Type: System.Single

Remarks

The value of this property affects the appearance of solid-colored fills and lines only; it has no effect on the appearance of patterned lines or patterned, gradient, picture, or textured fills.

See Also

Reference

LineFormat Interface

LineFormat Members

Microsoft.Office.Interop.Excel Namespace