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

NameTypeAccessDescription
SlideIBaseSlide?ReadGets the slide that owns this portion collection, or null
PresentationIPresentation?ReadGets the presentation containing the collection, or null
AsIPresentationComponentIPresentationComponentRead
AsIEnumerableIEnumerable<IPortion>ReadProvides the collection as an IEnumerable of IPortion
CountintReadIndicates the number of portions in the collection
IsReadOnlyboolReadReports whether the collection cannot be modified

Mètodes

SignatureDescription
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
 Català