Background
Overview
Background là một lớp trong Aspose.Slides FOSS cho Python. Dòng thừa kế từ: PVIObject, IBackground.
Hình nền của một slide.
Khóa học này cung cấp 8 phương pháp để làm việc với các đối tượng nền trong các chương trình Python. Các phương pháp có sẵn bao gồm: as_i_fill_param_source, as_i_slide_component, effect_format, fill_format, get_effective, style_color, style_index, type. 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 Python nào sau khi cài đặt Aspose.Slides FOSS cho gói Python. Tài sản : as_i_fill_param_source, as_i_presentation_component, as_i_slide_component, effect_format, fill_format, presentation,Và 4 nhiều hơn nữa.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
type | BackgroundType | Đọc / viết | Trở lại một loại nền đầy. |
fill_format | IFillFormat | Read | Trả lại một FillFormat để BackgroundType.OwnBackground điền. |
effect_format | IEffectFormat | Read | Trả lại một EffectFormat để BackgroundType.OwnBackground điền. |
style_color | IColorFormat | Read | Hãy trả về một ColorFormat để điền BackgroundType.Themed. |
style_index | int | Đọc / viết | Trở lại một chỉ số BackgroundType.Themed điền trong bộ sưu tập chủ đề nền. |
as_i_slide_component | ISlideComponent | Read | Gets the as i slide thành phần. |
as_i_fill_param_source | IFillParamSource | Read | Nhận nó khi tôi điền nguồn param. |
as_i_presentation_component | IPresentationComponent | Read | Cho phép để có được giao diện cơ sở IPresentationComponent. |
slide | IBaseSlide | Read | Gửi slide. |
presentation | IPresentation | Read | Nhận được trình bày. |
Methods
| Signature | Description |
|---|---|
get_effective() → IBackgroundEffectiveData | Trả lại dữ liệu nền hiệu quả, giải quyết di sản từ layout / master. |
type() → BackgroundType | Trở lại loại phím nền |
fill_format() → IFillFormat | Trở lại định dạng lấp đầy khi nền sử dụng lưới lặp riêng của nó |
effect_format() → IEffectFormat | Trả lại định dạng hiệu ứng cho nền với đầy đủ riêng của nó |
style_color() → IColorFormat | Trở lại định dạng màu cho một nền chủ đề đầy đủ |
style_index() → int | Trở lại chỉ số của nền chủ đề trong bộ sưu tập chủ nghĩa |
as_i_slide_component() → ISlideComponent | Cung cấp giao diện ISlideComponent cho nền |
as_i_fill_param_source() → IFillParamSource | Cung cấp giao diện IFillParamSource cho nền |