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

ImageRenderOptions FillFormat 클래스는 도형 및 텍스트의 채우기 속성을 제어합니다. solid, gradient, pattern, picture fill types를 지원합니다.

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.

참고

 한국어