PortionCollection
General
PortionCollection is a class in Aspose.Slides for NET.
Inherits from: ISlideComponent, IPortionCollection, IEnumerable<IPortion>.
PortionCollection és una classe en Aspose.Slides per NET. És heretat de: ゚ISlideComponent⌒, ゙IPortionCollectionヽ, \\pLACHEHolding_3}<\Place Halders4>⌒.
Representa una col·lecció mutable de parts que pertanyen a un component d’un diapositiu.
Propietats
| Name | Type | Access | Description |
|---|---|---|---|
Slide | IBaseSlide? | Read | Gets the slide that owns this portion collection, or null |
Presentation | IPresentation? | Read | Gets the presentation containing the collection, or null |
AsIPresentationComponent | IPresentationComponent | Read | |
AsIEnumerable | IEnumerable<IPortion> | Read | Provides the collection as an IEnumerable of IPortion |
Count | int | Read | Indicates the number of portions in the collection |
IsReadOnly | bool | Read | Reports whether the collection cannot be modified |
Mètodes
| Signature | Description |
|---|---|
GetPortions() | A list of portions read from the XML. |
Add(value: IPortion) | Inserts the specified IPortion into the collection |
IndexOf(item: IPortion) | |
Insert(index: int, value: IPortion) | Places the IPortion at the specified index in the collection |
Clear() | Removes all portions from the collection |
Contains(item: IPortion) | Checks whether the collection includes the specified IPortion |
Remove(item: IPortion) | Deletes the first occurrence of the given IPortion from the collection |
RemoveAt(index: int) | Removes the portion at the provided zero‑based index |
GetEnumerator() | Returns an enumerator for iterating over the portions |