ISlideCollection

ISlideCollection

Vue de l’ensemble

‘ISlideCollection’ est une interface dans Aspose.Slides FOSS pour .NET. hérite de: Ineumerable<ISLide>.

Il représente une collection de slides dans une présentation.

Cette interface fournit 13 méthodes pour travailler avec les objets ISlideCollection dans des programmes .NET. Les méthodologies disponibles comprennent: AddClone, AdDemptySlile , IndexOf ; InsertCmone‘, 'Inser Emptyslite; Remove : ‘RémoveAtetToArray. Tous les membres publics sont accessibles à n'importe quelle application .net après l'installation de l’Aspose.Snits FOSS pour le package .Net. Propriétés : AsICollection., Assienumérable: Count .

Propriétés

NameTypeAccessDescription
CountintReadGets the number of slides in the collection.
AsICollectionIList<ISlide>ReadExposes the collection as a generic list interface.
AsIEnumerableIEnumerable<ISlide>ReadExposes the collection as an enumerable interface.

méthodes

SignatureDescription
AddClone(sourceSlide: ISlide)Adds a copy of a specified slide to the end of the collection.
AddClone(sourceSlide: ISlide, destLayout: ILayoutSlide)Adds a copy of a specified slide to the end of the collection, applying the specified layout.
AddClone(sourceSlide: ISlide, destMaster: IMasterSlide, allowCloneMissingLayout: bool)Adds a copy of a specified slide to the end of the collection, applying the specified master slide.
InsertClone(index: int, sourceSlide: ISlide)Inserts a copy of a specified slide at the specified position.
InsertClone(index: int, sourceSlide: ISlide, destLayout: ILayoutSlide)Inserts a copy of a specified slide at the specified position, applying the specified layout.
InsertClone(index: int, sourceSlide: ISlide, destMaster: IMasterSlide, allowCloneMissingLayout: bool)Inserts a copy of a specified slide at the specified position, applying the specified master slide.
ToArray()Returns all slides in the collection as a new array.
ToArray(startIndex: int, count: int)Returns a subset of slides starting at the specified index.
AddEmptySlide(layout: ILayoutSlide)Adds an empty slide to the end of the collection with the specified layout.
InsertEmptySlide(index: int, layout: ILayoutSlide)Inserts an empty slide at the specified position with the specified layout.
Remove(value: ISlide)Removes the first occurrence of the specified slide from the collection.
RemoveAt(index: int)Removes the slide at the specified zero-based index.
IndexOf(slide: ISlide)Returns the zero-based index of the specified slide, or -1 if not found.

Voir aussi

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