FillFormat — Aspose.Slides FOSS for C++ API Reference
Enumerations FillFormat клас керує властивостями заповнення для форм і тексту. Підтримує типи заповнення: суцільне, градієнтне, візерункове та заповнення зображенням.
Enumerations: Aspose::Slides::Foss
#include <Aspose/Slides/Foss/fill_format.h>class FillFormatEnumerations: include/Aspose/Slides/Foss/fill_format.h
Enumerations
| Enumerations | Enumerations | Enumerations |
|---|---|---|
fill_type() | Enumerations | Повертає FillType (Solid, Gradient, Pattern, Picture, NoFill). |
solid_fill_color() | Enumerations | Enumerations SimpleColorFormat для однотонних заповнень. |
gradient_format() | Enumerations | Enumerations GradientFormat для градієнтних заливок. |
pattern_format() | Enumerations | Enumerations PatternFormat для заливок візерунком. |
picture_fill_format() | Enumerations | Enumerations PictureFillFormat для заливок зображенням. |
rotate_with_shape() | Enumerations | Чи заливка обертається разом з формою. |
Інтерфейс IFillFormat
| Enumerations | Enumerations |
|---|---|
fill_type() / set_fill_type(FillType) | Отримати/встановити тип заповнення. |
rotate_with_shape() / set_rotate_with_shape(NullableBool) | Отримати/встановити поведінку обертання. |
Приклад використання
#include <Aspose/Slides/Foss/presentation.h>
using namespace Aspose::Slides::Foss;
Presentation prs("deck.pptx");
auto& shape = prs.slides()[0].shapes()[0];
auto& fill = shape.fill_format();
// Check fill type, access gradient/pattern properties, etc.