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
| Name | Type | Access | Description |
|---|---|---|---|
Slide | IBaseSlide? | Read | Gets the slide. |
Presentation | IPresentation? | Read | Gets the presentation. |
AsIPresentationComponent | IPresentationComponent | Read | Gets the as i presentation component. |
AsIEnumerable | IEnumerable<IPortion> | Read | Gets the as i enumerable. |
Count | int | Read | Gets the count. |
IsReadOnly | bool | Read | Gets the is read only. |
méthodes
| Signature | Description |
|---|---|
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