[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.GradientStopList

Class GradientStopList

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents a list of gradient stops.

public class GradientStopList : FormattingBagList<GradientStop>, IReadOnlyList<GradientStop>, IReadOnlyCollection<GradientStop>, IEnumerable<GradientStop>, IEnumerable
Inheritance
object
GradientStopList
Implements
System.Collections.Generic.IReadOnlyList<T><GradientStop>
System.Collections.Generic.IReadOnlyCollection<T><GradientStop>
System.Collections.Generic.IEnumerable<T><GradientStop>
System.Collections.IEnumerable
Inherited Members
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()

Methods

Add(ThemeColorId, float)

Adds a new gradient stop in the color band.

public GradientStop Add(ThemeColorId themeColor, float position)

Parameters

themeColor ThemeColorId

The gradient stop theme color id.

position float

The gradient stop position in the color band.

Returns

GradientStop

The added GradientStop.

Add(Color, float)

Adds a new gradient stop in the color band.

public GradientStop Add(Color color, float position)

Parameters

color System.Drawing.Color

The gradient stop color.

position float

The gradient stop position in the color band.

Returns

GradientStop

The added GradientStop.

Equals(object)

public override bool Equals(object fmt)

Parameters

fmt object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Insert(ThemeColorId, float, int)

Inserts a new gradient stop in the color band.

public GradientStop Insert(ThemeColorId themeColor, float position, int index)

Parameters

themeColor ThemeColorId

The gradient stop theme color id.

position float

The gradient stop position in the color band.

index int

The gradient stop index.

Returns

GradientStop

The inserted GradientStop.

Insert(Color, float, int)

Inserts a new gradient stop in the color band.

public GradientStop Insert(Color color, float position, int index)

Parameters

color System.Drawing.Color

The gradient stop color.

position float

The gradient stop position in the color band.

index int

The gradient stop index.

Returns

GradientStop

The inserted GradientStop.

Remove(int)

Removes the gradient stop from the color band.

public override void Remove(int index)

Parameters

index int

The gradient stop index in the list.