FillFormat

FillFormat — Aspose.Slides FOSS for C++ API Reference

Enumerations FillFormat клас керує властивостями заповнення для форм і тексту. Підтримує типи заповнення: суцільне, градієнтне, візерункове та заповнення зображенням.

Enumerations: Aspose::Slides::Foss

#include <Aspose/Slides/Foss/fill_format.h>
class FillFormat

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


Enumerations

EnumerationsEnumerationsEnumerations
fill_type()EnumerationsПовертає FillType (Solid, Gradient, Pattern, Picture, NoFill).
solid_fill_color()EnumerationsEnumerations SimpleColorFormat для однотонних заповнень.
gradient_format()EnumerationsEnumerations GradientFormat для градієнтних заливок.
pattern_format()EnumerationsEnumerations PatternFormat для заливок візерунком.
picture_fill_format()EnumerationsEnumerations PictureFillFormat для заливок зображенням.
rotate_with_shape()EnumerationsЧи заливка обертається разом з формою.

Інтерфейс IFillFormat

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

Див. також

 Українська