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
| Name | Type | Access | Description |
|---|---|---|---|
AsICollection | IList<IGradientStop> | Read | Nhận như tôi thu thập. |
AsIEnumerable | IEnumerable<IGradientStop> | Read | Nhận được như tôi có thể liệt kê. |
Count | int | Read | Nhận được số. |
AsIPresentationComponent | IPresentationComponent | Read | Nhận được như I trình bày thành phần. |
Slide | IBaseSlide? | Read | Gửi slide. |
Presentation | IPresentation? | Read | Nhận được trình bày. |
Methods
| Signature | Description |
|---|---|
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 |