FillFormat — Aspose.Slides FOSS for C++ API Reference
Enumerations FillFormat class, şekiller ve metin için fill özelliklerini kontrol eder. solid, gradient, pattern ve picture fill türlerini destekler.
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 | Döndürür FillType (Solid, Gradient, Pattern, Picture, NoFill). |
solid_fill_color() | Enumerations | Enumerations SimpleColorFormat solid dolgular için. |
gradient_format() | Enumerations | Enumerations GradientFormat gradient dolgular için. |
pattern_format() | Enumerations | Enumerations PatternFormat desen dolguları için. |
picture_fill_format() | Enumerations | Enumerations PictureFillFormat resim dolguları için. |
rotate_with_shape() | Enumerations | Dolgunun şekille birlikte dönüp dönmediği. |
IFillFormat Arayüzü
| Enumerations | Enumerations |
|---|---|
fill_type() / set_fill_type(FillType) | Dolgu tipini al/ayarla. |
rotate_with_shape() / set_rotate_with_shape(NullableBool) | Dönme davranışını al/ayarla. |
Kullanım Örneği
#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.