PortionCollection

PortionCollection

Vue de l’ensemble

‘PortiumCollection’ est une classe dans Aspose.Slides FOSS pour .NET. Il découle de : ‘ISlideComponent’, ‘IPortionColection’, `IEnumerable’.

Il représente une collection mutable de portions appartenant à un composant de la coupe.

Cette classe fournit 9 méthodes pour travailler avec les objets de PortionCollection dans des programmes .NET. Les méthodologies disponibles comprennent: ‘Add’, ‘Clear’ , ‘Containers’, GetEnumerator', ‘GatPortions', ’IndexOf’, 'Insert', ‚Remove‘, 'RimoveAt'. Tous les membres publics sont accessibles à n'importe quelle application .Net après l'installation du package .net Aspose.Slides FOSS. Propriétés : 'AsIEnumérable', "AsIPresentationComponent', ''Count',''IsReadOnly', Présentations’,’ Slide`.

Propriétés

NameTypeAccessDescription
SlideIBaseSlide?ReadGets the slide.
PresentationIPresentation?ReadGets the presentation.
AsIPresentationComponentIPresentationComponentReadGets the as i presentation component.
AsIEnumerableIEnumerable<IPortion>ReadGets the as i enumerable.
CountintReadGets the count.
IsReadOnlyboolReadGets the is read only.

méthodes

SignatureDescription
GetPortions()Gets the portions from the underlying XML paragraph element.
Add(value: IPortion)Inserts the specified IPortion into the collection
IndexOf(item: IPortion)Returns the zero‑based index of the given IPortion
Insert(index: int, value: IPortion)Places the IPortion at the specified index
Clear()Calls Clear on this PortionCollection instance.
Contains(item: IPortion)Checks whether the collection includes the IPortion
Remove(item: IPortion)Deletes the first occurrence of the specified IPortion
RemoveAt(index: int)Deletes the portion at the given index
GetEnumerator()Provides an iterator over the collection

Voir aussi

  • Aspose.Slides - référence API d’entreprise
 Français