LinearGradient Interface
The LinearGradient object transitions through a series of colors in a linear manner along a specific angle.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("000244AF-0000-0000-C000-000000000046")> _
Public Interface LinearGradient
'Usage
Dim instance As LinearGradient
[InterfaceTypeAttribute()]
[GuidAttribute("000244AF-0000-0000-C000-000000000046")]
public interface LinearGradient
Remarks
Note
Some things to consider when working with LinearGradient objects
Attempting to access a Interior.Gradient property of an Microsoft.Office.Interop.Excel.Interior object that does not have an existing gradient fill will result in a Run Time Error. Be aware of the Interior.Pattern property before accessing the Gradient property.
If Interior.Pattern is changed from a gradient type to a non-gradient type, the LinearGradient object will populate with default values.