Class ExcelDxfGradientFillColorCollection¶
Namespace: OfficeOpenXml.Style.Dxf
Assembly: EPPlus.dll
A collection of colors and their positions used for a gradiant fill.
public class ExcelDxfGradientFillColorCollection : DxfStyleBase, IEnumerable<ExcelDxfGradientFillColor>, IEnumerable
Inheritance¶
object ← DxfStyleBase ← ExcelDxfGradientFillColorCollection
Implements¶
IEnumerable
IEnumerable<ExcelDxfGradientFillColor>
Inherited Members¶
DxfStyleBase.Clear()
DxfStyleBase.HasValue
DxfStyleBase.SetValueColor(XmlHelper, string, ExcelDxfColor)
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
Count¶
Number of items in the collection
Property Value¶
HasValue¶
If the style has any value set
Property Value¶
this[int]¶
Indexer for the collection
Property Value¶
this[double]¶
Gets the first occurance with the color with the specified position
Property Value¶
Methods¶
Add(double)¶
Adds a RGB color at the specified position Where position is in percent
Parameters¶
position double
The position from 0 to 100%
Returns¶
The gradient color position object
Clear()¶
Clear all style items from the collection
GetEnumerator()¶
Get the enumerator
Returns¶
IEnumerator<ExcelDxfGradientFillColor>
The enumerator
Remove(ExcelDxfGradientFillColor)¶
Remove the style from the collection
Parameters¶
item ExcelDxfGradientFillColor
RemoveAt(int)¶
Remove the style at the index in the collection.
Parameters¶
index int
RemoveAt(double)¶
Remove the style at the position from the collection.
Parameters¶
position double