ParagraphCollection

ParagraphCollection

Vue de l’ensemble

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

Il représente une collection de paragraphes.

Cette classe fournit 9 méthodes pour travailler avec les objets de Collections Paragraph dans des programmes .NET. Les méthodologies disponibles comprennent: ‘Add’, ‘Clear’ , ‘Contenus’, GetEnumerator', ‘GatParagraf', 'IndexOf', ''Insert', ’Remove, `RémoveAt’. 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’, «AsISlideComposant’, » Count’,

Propriétés

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

méthodes

SignatureDescription
GetParagraphs()Gets the paragraphs from the underlying XML text body element.
Add(value: IParagraph)Inserts the specified IParagraph into the collection
Insert(index: int, value: IParagraph)Calls Insert(index, value) on this ParagraphCollection instance.
Clear()Calls Clear on this ParagraphCollection instance.
RemoveAt(index: int)Deletes the paragraph at the specified index
Remove(item: IParagraph)Deletes the first occurrence of the given IParagraph
Contains(item: IParagraph)Checks if the collection includes the specified IParagraph
IndexOf(item: IParagraph)Returns the zero‑based index of the given IParagraph or -1
GetEnumerator()Returns an enumerator for iterating the paragraphs

Voir aussi

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