FillFormat — Aspose.Slides FOSS for C++ API Reference
Properties FillFormat class يتحكم في خصائص fill للأشكال والنص. يدعم أنواع fill solid، gradient، pattern، و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 | يعيد الـ FillType (متصل، تدرج، نمط، صورة، بدون تعبئة). |
solid_fill_color() | Properties | Properties SimpleColorFormat للتعبئات الصلبة. |
gradient_format() | Properties | Properties GradientFormat للتعبئات المتدرجة. |
pattern_format() | Properties | Properties PatternFormat لملء الأنماط. |
picture_fill_format() | Properties | Properties PictureFillFormat لملء الصور. |
rotate_with_shape() | Properties | ما إذا كان الملء يدور مع الشكل. |
واجهة IFillFormat
| Properties | Properties |
|---|---|
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.