FillFormat — Aspose.Slides FOSS for C++ API Reference
Properties FillFormat Klasse steuert Füll‑Eigenschaften für Formen und Text. Sie unterstützt die Fülltypen solid, gradient, pattern und picture.
Properties: Aspose::Slides::Foss
#include <Aspose/Slides/Foss/fill_format.h>class FillFormatProperties: include/Aspose/Slides/Foss/fill_format.h
Properties
| Properties | Properties | Properties |
|---|---|---|
fill_type() | Properties | Gibt zurück FillType (Solid, Gradient, Pattern, Picture, NoFill). |
solid_fill_color() | Properties | Properties SimpleColorFormat für solid‑Füllungen. |
gradient_format() | Properties | Properties GradientFormat für gradient‑Füllungen. |
pattern_format() | Properties | Properties PatternFormat für pattern‑Füllungen. |
picture_fill_format() | Properties | Properties PictureFillFormat für picture‑Füllungen. |
rotate_with_shape() | Properties | Ob die Füllung mit der Form rotiert. |
IFillFormat‑Schnittstelle
| Properties | Properties |
|---|---|
fill_type() / set_fill_type(FillType) | Abrufen/Setzen des Fülltyps. |
rotate_with_shape() / set_rotate_with_shape(NullableBool) | Abrufen/Setzen des Rotationsverhaltens. |
Verwendungsbeispiel
#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.