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 FillFormat

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


Properties

PropertiesPropertiesProperties
fill_type()Propertiesيعيد الـ FillType (متصل، تدرج، نمط، صورة، بدون تعبئة).
solid_fill_color()PropertiesProperties SimpleColorFormat للتعبئات الصلبة.
gradient_format()PropertiesProperties GradientFormat للتعبئات المتدرجة.
pattern_format()PropertiesProperties PatternFormat لملء الأنماط.
picture_fill_format()PropertiesProperties PictureFillFormat لملء الصور.
rotate_with_shape()Propertiesما إذا كان الملء يدور مع الشكل.

واجهة IFillFormat

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

انظر أيضًا

 العربية