FillFormat

Overview

FillFormat is a class in Aspose.Slides FOSS for C++.

Represents the fill formatting properties of a shape.

This class declares 31 methods for FillFormat objects in C++ programs. Available methods include: FillFormat, FillType, GradientFormat, NullableBool, PatternFormat, PictureFillFormat, SimpleColorFormat, fill_type, find_fill_element, get_or_create_fill, gradient_format, init_internal, and 11 additional methods. Public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package. Accessor methods: FillType, GradientFormat, NullableBool, PatternFormat, PictureFillFormat, SimpleColorFormat.

Accessor Methods

NameTypeAccessDescription
FillTypeFillTypeReadGets the fill type.
SimpleColorFormatSimpleColorFormatReadGets the simple color format.
GradientFormatGradientFormatReadGets the gradient format.
PatternFormatPatternFormatReadGets the pattern format.
PictureFillFormatPictureFillFormatReadGets the picture fill format.
NullableBoolNullableBoolReadGets the nullable bool.

Methods

SignatureDescription
FillType() → FillTypeReturns the fill type.
SimpleColorFormat() → SimpleColorFormatReturns the solid fill color format.
SimpleColorFormat() → SimpleColorFormatProperty provides access to solid color fill settings
GradientFormat() → GradientFormatReturns the gradient fill format.
GradientFormat() → GradientFormatProperty provides access to gradient fill settings
PatternFormat() → PatternFormatReturns the pattern fill format.
PatternFormat() → PatternFormatProperty provides access to pattern fill settings
PictureFillFormat() → PictureFillFormatReturns the picture fill format.
PictureFillFormat() → PictureFillFormatProperty provides access to picture fill settings
NullableBool() → NullableBoolDetermines whether the fill should be rotated with shape.
FillFormat()Calls FillFormat on this FillFormat instance.
~FillFormat()Calls ~FillFormat on this FillFormat instance.
init_internal(parent_element: pugi::xml_node, save_callback: std::function<void()>)Initialize XML-backed fill format. (e.g., , , , ).
find_fill_element() → pugi::xml_nodeFind the first fill child element in the parent.
remove_fill_elements()Remove all existing fill child elements from parent.
insert_fill_element(tag: std::string_view) → pugi::xml_nodeInsert a fill element at the correct OOXML position in the parent. Fill elements must appear after geometry and before .
get_or_create_fill(tag: std::string_view) → pugi::xml_nodeGet existing fill element of given tag, or create it (removing others). Adds default children for gradient and picture fills.
save()Save changes via the save callback.
serialize_to_xml(sp_pr: pugi::xml_node)Serialize the in-memory fill format state to XML under the given spPr node. Used during Presentation::save() for shapes without XML backing.
fill_type() → FillTypeReturns the fill type.
set_fill_type(value: FillType)Calls set_fill_type(value) on this FillFormat instance.
solid_fill_color() → SimpleColorFormatReturns the solid fill color format.
solid_fill_color() → SimpleColorFormatCalls solid_fill_color on this FillFormat instance.
gradient_format() → GradientFormatReturns the gradient fill format.
gradient_format() → GradientFormatCalls gradient_format on this FillFormat instance.
pattern_format() → PatternFormatReturns the pattern fill format.
pattern_format() → PatternFormatCalls pattern_format on this FillFormat instance.
picture_fill_format() → PictureFillFormatReturns the picture fill format.
picture_fill_format() → PictureFillFormatCalls picture_fill_format on this FillFormat instance.
rotate_with_shape() → NullableBoolDetermines whether the fill should be rotated with shape.
set_rotate_with_shape(value: NullableBool)Calls set_rotate_with_shape(value) on this FillFormat instance.

See Also

 English