SlideCollection

SlideCollection

Overview

SlideCollection là một lớp trong Aspose.Slides FOSS cho .NET. Dòng thừa kế từ: ISlideCollection.

Hiển thị một bộ sưu tập các slides trong một trình bày.

Khóa học này cung cấp 14 phương pháp để làm việc với các đối tượng SlideCollection trong các chương trình .NET. Các phương pháp có sẵn bao gồm: AddClone, AddEmptySlide, GetEnumerator, IndexOf, InsertClone, InsertEmptySlide, Remove, RemoveAt, ToArray. Tất cả các thành viên công cộng đều có thể truy cập bất kỳ ứng dụng .NET nào sau khi cài đặt Aspose.Slides FOSS cho gói .Net. Tài sản : AsICollection, AsIEnumerable, Count.

Properties

NameTypeAccessDescription
CountintReadNhận được số.
AsICollectionIList<ISlide>ReadNhận như tôi thu thập.
AsIEnumerableIEnumerable<ISlide>ReadNhận được như tôi có thể liệt kê.

Methods

SignatureDescription
AddClone(sourceSlide: ISlide)Thêm một bản sao của slide nguồn vào slides chủ nhất, tùy chọn cloning layout missing
AddClone(sourceSlide: ISlide, destLayout: ILayoutSlide)Nhắc AddClone(sourceSlide, destLayout) trên ví dụ này SlideCollection.
AddClone(sourceSlide: ISlide, destMaster: IMasterSlide, allowCloneMissingLayout: bool)Call AddClone(sourceSlide, destMaster, allowCloneMissingLayout) trên trường hợp này SlideCollection.
InsertClone(index: int, sourceSlide: ISlide)Nhúng một nhãn tắt được chôn trên chỉ mục vào nhàn master cụ thể, với tùy chọn layout cloning
InsertClone(index: int, sourceSlide: ISlide, destLayout: ILayoutSlide)Nhắc InsertClone(index, sourceSlide, destLayout) trên ví dụ này SlideCollection.
InsertClone(index: int, sourceSlide: ISlide, destMaster: IMasterSlide, allowCloneMissingLayout: bool)Call InsertClone(index, sourceSlide, destMaster, allowCloneMissingLayout) trên trường hợp này SlideCollection.
ToArray()Trở lại một phần của các slides bắt đầu từ startIndex với các yếu tố tính toán
ToArray(startIndex: int, count: int)Hãy gọi ToArray(startIndex, count) trên ví dụ này SlideCollection.
AddEmptySlide(layout: ILayoutSlide)Nhấn AddEmptySlide(layout) trên trường hợp này SlideCollection.
InsertEmptySlide(index: int, layout: ILayoutSlide)Nhập một slide trống mới vào index bằng cách sử dụng bố trí cụ thể
Remove(value: ISlide)Call Remove(value) trên trường hợp này SlideCollection.
RemoveAt(index: int)Xóa các nhấp chuột trên chỉ số dựa trên zero
IndexOf(slide: ISlide)Nhấn IndexOf(slide) trên trường hợp này SlideCollection.
GetEnumerator()Cung cấp một enumerator để iterate trên các slides

See Also

 Tiếng Việt