ParagraphCollection

ParagraphCollection

Tổng quan

ParagraphCollection là một lớp trong Aspose.Slides FOSS cho .NET. Dòng thừa kế từ: ISlideComponent, IParagraphCollection, IEnumerable<IParagraph>.

Nó đại diện cho một bộ sưu tập các đoạn.

Khóa học này cung cấp 9 phương pháp để làm việc với các đối tượng ParagraphCollection trong các chương trình .NET. Các phương pháp có sẵn bao gồm: Add, Clear, Contains, GetEnumerator, GetParagraphs, IndexOf, Insert, Remove, RemoveAt. 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 : AsIEnumerable, AsIPresentationComponent, AsISlideComponent, Count, IsReadOnly, Presentation,Và 1 thêm.

Thuộc tính

NameTypeAccessDescription
SlideIBaseSlide?ReadGửi slide.
PresentationIPresentation?ReadNhận được trình bày.
AsIPresentationComponentIPresentationComponentReadNhận được như I trình bày thành phần.
AsISlideComponentISlideComponentReadGets the as i slide thành phần.
AsIEnumerableIEnumerable<IParagraph>ReadNhận được như tôi có thể liệt kê.
CountintReadNhận được số.
IsReadOnlyboolReadChỉ có được đọc mà thôi.

Phương pháp

SignatureDescription
GetParagraphs()Nhận các đoạn từ cơ thể văn bản XML dưới đây.
Add(value: IParagraph)Nhập IParagraph cụ thể vào bộ sưu tập
Insert(index: int, value: IParagraph)Call Insert(index, value) trên trường hợp này ParagraphCollection.
Clear()Chọn Clear trên trường hợp ParagraphCollection này.
RemoveAt(index: int)Xóa đoạn tại chỉ số cụ thể
Remove(item: IParagraph)Xóa sự xuất hiện đầu tiên của một IParagraph
Contains(item: IParagraph)Kiểm tra xem bộ sưu tập có chứa IParagraph đã chỉ định
IndexOf(item: IParagraph)Trả lại chỉ số dựa trên zero của IParagraph hoặc -1
GetEnumerator()Trả lại một số để iterating các đoạn

Xem thêm

 Tiếng Việt