ISectionCollection

ISectionCollection

סקירה כללית

ISectionCollection הוא ממשק ב Aspose.Slides FOSS עבור .NET. מורשת מ : IEnumerable<ISection>.

להציג אוסף של סעיפים בהצגה.

ממשק זה מספק 7 שיטות לעבוד עם אובייקטים ISectionCollection בתוכניות .NET. שיטות זמינות כוללות: AddSection, AppendEmptySection, Clear, IndexOf, RemoveSection, RemoveSectionWithSlides, ReorderSectionWithSlides. כל החברים הציבוריים זמינים לכל יישום .NET לאחר התקנת Aspose.Slides FOSS עבור חבילת .Net. רכוש : Count.

נכסים

שםסוגגישהתיאור
Countintקראומקבל את מספר החלקים בקולקציה.

שיטות

חתימהתיאור
AddSection(name: string, startedFromSlide: ISlide)הוספת סעיף חדש החל מהסליד המפורט.
AppendEmptySection(name: string, startedFromIndex: int)הוסף חלק ריק עם השם המפורט עד סוף האוסף.
IndexOf(section: ISection)החזיר את האינדקס של הפרק שנקבע, או -1 אם לא נמצא.
RemoveSection(section: ISection)הסר את החלק המפורט מהאוסף.
RemoveSectionWithSlides(section: ISection)הסר את החלק המפורט ואת כל הכתמים שלו מהאוסף.
ReorderSectionWithSlides(section: ISection, index: int)העברת החלק והסלילות שלו למיקום שנקבע.
Clear()הסר את כל החלקים מהאוסף.

ראה גם

 עברית