{{< docs-families >}} - Какво?
Общ преглед
GradientStopCollection е клас в Aspose.Slides за NET. Наслежда от: ゚PVIObject, ⌒IGradientStopCollectionヽ , ゙IEnumerable<IGradientStop> .
Управлява колекция от <a:gs> деца елементи в рамките на XML елемент . Всяка мутация продължава промените, като се обажда на собственик.
Свойства на веществата
| Name | Type | Access | Description |
|---|---|---|---|
AsICollection | IList<IGradientStop> | Read | Provides the collection as an IList |
AsIEnumerable | IEnumerable<IGradientStop> | Read | Provides the collection as an IEnumerable |
Count | int | Read | Gets the number of gradient stops in the collection |
Методи за изчисляване на данните
| Signature | Description |
|---|---|
Add(position: float, color: Color) | Adds a gradient stop at the given position using a Color |
Add(position: float, presetColor: PresetColor) | |
Add(position: float, schemeColor: SchemeColor) | |
Insert(index: int, position: float, color: Color) | Inserts a gradient stop at the index with a Color |
Insert(index: int, position: float, presetColor: PresetColor) | |
Insert(index: int, position: float, schemeColor: SchemeColor) | |
RemoveAt(index: int) | Removes the gradient stop at the specified index |
Clear() | Removes all gradient stops from the collection |
GetEnumerator() | Returns an enumerator for iterating gradient stops |