FillFormat — Aspose.Slides FOSS for C++ API Reference
FillFormat klasa upravlja svojstvima popunjavanja za oblike i tekst. Podržava tipove popunjavanja solid, gradient, pattern i picture.: Aspose::Slides::Foss
#include <Aspose/Slides/Foss/fill_format.h>class FillFormat: include/Aspose/Slides/Foss/fill_format.h
fill_type() | Vraća FillType (Solid, Gradient, Pattern, Picture, NoFill). | |
solid_fill_color() | SimpleColorFormat za solid popunjavanja. | |
gradient_format() | GradientFormat za gradient popunjavanja. | |
pattern_format() | PatternFormat za pattern popunjavanja. | |
picture_fill_format() | PictureFillFormat za picture popunjavanja. | |
rotate_with_shape() | Da li se popunjavanje rotira zajedno sa oblikom. |
IFillFormat interfejs
fill_type() / set_fill_type(FillType) | Dobijte/postavite tip popunjavanja. |
rotate_with_shape() / set_rotate_with_shape(NullableBool) | Dobijte/postavite ponašanje rotacije. |
Primer upotrebe
#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.