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
| 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. |
AsISlideComponent | ISlideComponent | Read | Gets the as i slide component. |
AsIEnumerable | IEnumerable<IParagraph> | Read | Gets the as i enumerable. |
Count | int | Read | Gets the count. |
IsReadOnly | bool | Read | Gets the is read only. |
méthodes
| Signature | Description |
|---|---|
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