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 FillFormat

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


ImageRenderOptions

ImageRenderOptionsImageRenderOptionsImageRenderOptions
fill_type()ImageRenderOptionsवापस करता है FillType (Solid, Gradient, Pattern, Picture, NoFill).
solid_fill_color()ImageRenderOptionsImageRenderOptions SimpleColorFormat सॉलिड फ़िल्स के लिए।.
gradient_format()ImageRenderOptionsImageRenderOptions GradientFormat ग्रेडिएंट फ़िल्स के लिए।.
pattern_format()ImageRenderOptionsImageRenderOptions PatternFormat पैटर्न फ़िल्स के लिए।.
picture_fill_format()ImageRenderOptionsImageRenderOptions PictureFillFormat पिक्चर फ़िल्स के लिए।.
rotate_with_shape()ImageRenderOptionsक्या फ़िल आकार के साथ घुमता है।.

IFillFormat इंटरफ़ेस

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

संबंधित देखें

 हिन्दी