Classe SeriesGradientStopColorFormat (Excel VBA)

Set

Para usar uma variável de classe SeriesGradientStopColorFormat, ela primeiro precisa ser instanciada por exemplo

Dim sgs as SeriesGradientStopColorFormat
Set sgs = ActiveChart.FullSeriesCollection(1).SeriesColorMaxGradientStop.StopColor

As variáveis ​​de classe SeriesGradientStopColorFormat podem ser definidas usando o procedimento ChartSeriesGradientStopData.StopColor.

ObjectThemeColor

ActiveChart.FullSeriesCollection(1).SeriesColorMaxGradientStop.StopColor.ObjectThemeColor =

Parent

RGB

ActiveChart.FullSeriesCollection(1).SeriesColorMaxGradientStop.StopColor.RGB =

TintAndShade

ActiveChart.FullSeriesCollection(1).SeriesColorMaxGradientStop.StopColor.TintAndShade =

Transparency

ActiveChart.FullSeriesCollection(1).SeriesColorMaxGradientStop.StopColor.Transparency =

Type

Dim mctType As Office.MsoColorType
mctType = ActiveChart.FullSeriesCollection(1).SeriesColorMaxGradientStop.StopColor.Type