GradientFill Class
Contents
[
Hide
]GradientFill class
Represents the gradient fill.
type GradientFill struct {
ptr unsafe.Pointer
}
Constructors
| Method | Description |
|---|
Methods
| Method | Description |
|---|---|
| IsNull | Checks whether the implementation object is nullptr. |
| GetGradientStops | Represents the gradient stop collection. |
| SetGradient | Set the gradient fill type and direction. |
| GetFillType | Gets the gradient fill type. |
| GetDirectionType | Gets the gradient direction type. |
| GetAngle | The angle of linear fill. |
| SetAngle | The angle of linear fill. |
| SetPresetThemeGradient | Sets preset theme gradient fill. |
| SetOneColorGradient | Sets the specified fill to a one-color gradient.Only applies for Excel 2007. |
| SetTwoColorGradient_Color_Color_GradientStyleType_Int | Sets the specified fill to a two-color gradient.Only applies for Excel 2007. |
| SetTwoColorGradient_Color_Double_Color_Double_GradientStyleType_Int | Sets the specified fill to a two-color gradient.Only applies for Excel 2007. |