GradientStopCollection

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

NameTypeAccessDescription
AsICollectionIList<IGradientStop>ReadGets the as i collection.
AsIEnumerableIEnumerable<IGradientStop>ReadGets the as i enumerable.
CountintReadGets the count.
AsIPresentationComponentIPresentationComponentReadGets the as i presentation component.
SlideIBaseSlide?ReadGets the slide.
PresentationIPresentation?ReadGets the presentation.

méthodes

SignatureDescription
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
 Français