GradientStopCollection
Vue de l’ensemble
‘GradientStopCollection’ est une classe dans Aspose.Slides FOSS pour .NET. hérite de: PVIObject', IGradientSTopcollection, IEnumerable
Gérer une collection d’éléments enfant <a:gs> dans un élément XML < a:gslst>.
Cette classe fournit 9 méthodes pour travailler avec les objets GradientStopCollection dans des programmes .NET. Les méthodologies disponibles comprennent: ‘Add’, ‘Clear’, GetEnumerator', ‘Insert’, 'RemoveAt'. Tous les membres publics sont accessibles à n'importe quelle application .Net après l'installation de l’Aspose.Slides FOSS pour le package .net. Propriétés: AsICollection, AssIEnumérable, AsIPresentationComponentetCount`.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
AsICollection | IList<IGradientStop> | Read | Gets the as i collection. |
AsIEnumerable | IEnumerable<IGradientStop> | Read | Gets the as i enumerable. |
Count | int | Read | Gets the count. |
AsIPresentationComponent | IPresentationComponent | Read | Gets the as i presentation component. |
Slide | IBaseSlide? | Read | Gets the slide. |
Presentation | IPresentation? | Read | Gets the presentation. |
méthodes
| Signature | Description |
|---|---|
Add(position: float, color: Color) | Adds a gradient stop at the given position using a Color |
Add(position: float, presetColor: PresetColor) | Calls Add(position, presetColor) on this GradientStopCollection instance. |
Add(position: float, schemeColor: SchemeColor) | Calls Add(position, schemeColor) on this GradientStopCollection instance. |
Insert(index: int, position: float, color: Color) | Inserts a gradient stop at index with position and Color |
Insert(index: int, position: float, presetColor: PresetColor) | Calls Insert(index, position, presetColor) on this GradientStopCollection instance. |
Insert(index: int, position: float, schemeColor: SchemeColor) | Calls Insert(index, position, schemeColor) on this GradientStopCollection instance. |
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 |
Voir aussi
- Aspose.Slides - référence API d’entreprise