FillFormat — Aspose.Slides FOSS for C++ API Reference
ImageRenderOptions FillFormat class shapes और टेक्स्ट के fill प्रॉपर्टीज़ को नियंत्रित करता है। यह solid, gradient, pattern, और picture fill प्रकारों का समर्थन करता है।.
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, Gradient, Pattern, Picture, NoFill). |
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.