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 FillFormat

Properties: include/Aspose/Slides/Foss/fill_format.h


Properties

PropertiesPropertiesProperties
fill_type()PropertiesGibt zurück FillType (Solid, Gradient, Pattern, Picture, NoFill).
solid_fill_color()PropertiesProperties SimpleColorFormat für solid‑Füllungen.
gradient_format()PropertiesProperties GradientFormat für gradient‑Füllungen.
pattern_format()PropertiesProperties PatternFormat für pattern‑Füllungen.
picture_fill_format()PropertiesProperties PictureFillFormat für picture‑Füllungen.
rotate_with_shape()PropertiesOb die Füllung mit der Form rotiert.

IFillFormat‑Schnittstelle

PropertiesProperties
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.

Siehe auch

 Deutsch