FillFormat — Aspose.Slides FOSS for C++ API Reference
ImageRenderOptions FillFormat המחלקה שולטת בתכונות המילוי של צורות וטקסט. היא תומכת בסוגי מילוי מוצק, גרדיאנט, תבנית ותמונה.
ImageRenderOptions: Aspose::Slides::Foss
#include <Aspose/Slides/Foss/fill_format.h>class FillFormatImageRenderOptions: include/Aspose/Slides/Foss/fill_format.h
ImageRenderOptions
| ImageRenderOptions | ImageRenderOptions | ImageRenderOptions |
|---|---|---|
fill_type() | ImageRenderOptions | מחזיר את FillType (אחיד, מדרג, תבנית, תמונה, ללא מילוי). |
solid_fill_color() | ImageRenderOptions | ImageRenderOptions SimpleColorFormat למילויים מוצקים. |
gradient_format() | ImageRenderOptions | ImageRenderOptions GradientFormat למילויים מדרגיים. |
pattern_format() | ImageRenderOptions | ImageRenderOptions PatternFormat למילויים בתבנית. |
picture_fill_format() | ImageRenderOptions | ImageRenderOptions PictureFillFormat למילויים בתמונות. |
rotate_with_shape() | ImageRenderOptions | האם המילוי מסתובב עם הצורה. |
ממשק IFillFormat
| ImageRenderOptions | ImageRenderOptions |
|---|---|
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.