GradientStopCollection

GradientStopCollection

Overview

GradientStopCollection là một lớp trong Aspose.Slides FOSS cho .NET. Dòng thừa kế từ: PVIObject, IGradientStopCollection, IEnumerable<IGradientStop>.

Quản lý một bộ sưu tập các yếu tố trẻ em <a:gs> trong một yếu đuối XML < a:gslst>.

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 GradientStopCollection trong các chương trình .NET. Các phương pháp có sẵn bao gồm: Add, Clear, GetEnumerator, Insert, 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 : AsICollection, AsIEnumerable, AsIPresentationComponent, Count, Presentation, Slide.

Properties

NameTypeAccessDescription
AsICollectionIList<IGradientStop>ReadNhận như tôi thu thập.
AsIEnumerableIEnumerable<IGradientStop>ReadNhận được như tôi có thể liệt kê.
CountintReadNhận được số.
AsIPresentationComponentIPresentationComponentReadNhận được như I trình bày thành phần.
SlideIBaseSlide?ReadGửi slide.
PresentationIPresentation?ReadNhận được trình bày.

Methods

SignatureDescription
Add(position: float, color: Color)Thêm một dừng gradient ở vị trí cụ thể bằng cách sử dụng màu sắc
Add(position: float, presetColor: PresetColor)Call Add(position, presetColor) trên trường hợp này GradientStopCollection.
Add(position: float, schemeColor: SchemeColor)Call Add(position, schemeColor) trên trường hợp này GradientStopCollection.
Insert(index: int, position: float, color: Color)Nhập một điểm dừng ở chỉ số với vị trí và màu sắc
Insert(index: int, position: float, presetColor: PresetColor)Call Insert(index, position, presetColor) trên trường hợp này GradientStopCollection.
Insert(index: int, position: float, schemeColor: SchemeColor)Call Insert(index, position, schemeColor) trên trường hợp này GradientStopCollection.
RemoveAt(index: int)Xóa ngừng gradient tại chỉ số được xác định
Clear()Xóa tất cả các cản trở gradient từ bộ sưu tập
GetEnumerator()Trả lại một số cho các dừng gradient iterating

See Also

 Tiếng Việt