[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IGradientStops

Interface IGradientStops

Namespace
GrapeCity.Documents.Excel.Drawing
Assembly
GcDocs.Excel.dll

Represents a collection of IGradientStop objects.

public interface IGradientStops : IEnumerable
Inherited Members
System.Collections.IEnumerable.GetEnumerator()

Properties

Count

Gets the number of items in the IGradientStops collection (read-only).

int Count { get; }

Property Value

int

this[int]

Gets the IGradientStop object from the IGradientStops collection (read-only).

IGradientStop this[int index] { get; }

Parameters

index int

The name or index number of the returned object.

Property Value

IGradientStop

IGradientStop

Methods

Delete(int)

Removes a gradient stop.

void Delete(int index)

Parameters

index int

The index number of the gradient stop.

Insert(int, double, double, int, double)

Adds a stop to a gradient and specifies the brightness, as well as the transparency of the color.

void Insert(int rgb, double position, double transparency = 0, int index = -1, double brightness = 0)

Parameters

rgb int

Specifies the color at the gradient stop.

position double

Specifies the position of the stop within the gradient expressed as a percent.

transparency double

Specifies the opacity of color at the gradient stop.

index int

The index number of the stop.

brightness double

Specifies the brightness of the color at the gradient stop.