PictureFillFormat

PictureFillFormat

Overview

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

Represents a picture fill within a fill format.

This class provides 54 methods for working with PictureFillFormat objects in C++ programs. Available methods include: PPImage, Picture, PictureFillMode, RectangleAlignment, TileFlip, crop_bottom, crop_left, crop_right, crop_top, dpi, ensure_tile, get_blip, and 40 additional methods. All public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package. Properties: PPImage, Picture, PictureFillMode, RectangleAlignment, TileFlip.

Properties

NameTypeAccessDescription
PictureFillModePictureFillModeReadGets the picture fill mode.
PicturePictureReadGets the picture.
RectangleAlignmentRectangleAlignmentReadGets the rectangle alignment.
TileFlipTileFlipReadGets the tile flip.
PPImagePPImageReadGets the pp image.

Methods

SignatureDescription
PictureFillMode()PictureFillModeProperty gets or sets the picture fill mode
Picture()PictureProperty gets or sets the Picture object
Picture()Picture
RectangleAlignment()RectangleAlignmentReturns the alignment of the picture within its rectangle
TileFlip()TileFlipReturns the tile flip setting for the picture fill
PPImage()PPImageReturns the underlying PPImage representation
init_internal(blip_fill_element: pugi::xml_node, save_callback: std::function<void()>)Initialize XML-backed picture fill format.
get_blip()pugi::xml_nodeGet the child element.
get_or_create_src_rect()pugi::xml_nodeGet or create the element for crop values.
get_stretch()pugi::xml_nodeGet the child element.
get_or_create_fill_rect()pugi::xml_nodeGet or create the element under .
get_crop_value(attr: std::string_view)floatGet a crop value from .
set_crop_value(attr: std::string_view, value: float)Set a crop value on .
get_stretch_offset(attr: std::string_view)floatGet a stretch offset value from under .
set_stretch_offset(attr: std::string_view, value: float)Set a stretch offset value on under .
get_tile()pugi::xml_nodeGet the element, or empty node if absent.
ensure_tile()pugi::xml_nodeGet or create the element, removing if present.
save()Save changes via the save callback.
dpi()intReturns or sets the dpi used to fill a picture.
set_dpi(value: int)
picture_fill_mode()PictureFillModeReturns the picture fill mode.
set_picture_fill_mode(value: PictureFillMode)
picture()PictureReturns the picture associated with the fill.
picture()PictureReturns the picture associated with the fill.
crop_left()floatReturns or sets the number of percents of real image width cropped off the left.
set_crop_left(value: float)
crop_top()floatReturns or sets the number of percents of real image height cropped off the top.
set_crop_top(value: float)
crop_right()floatReturns or sets the number of percents of real image width cropped off the right.
set_crop_right(value: float)
crop_bottom()floatReturns or sets the number of percents of real image height cropped off the bottom.
set_crop_bottom(value: float)
stretch_offset_left()floatReturns or sets the left edge stretch offset as a percentage.
set_stretch_offset_left(value: float)
stretch_offset_top()floatReturns or sets the top edge stretch offset as a percentage.
set_stretch_offset_top(value: float)
stretch_offset_right()floatReturns or sets the right edge stretch offset as a percentage.
set_stretch_offset_right(value: float)
stretch_offset_bottom()floatReturns or sets the bottom edge stretch offset as a percentage.
set_stretch_offset_bottom(value: float)
tile_offset_x()floatReturns or sets the horizontal offset of the texture in points.
set_tile_offset_x(value: float)
tile_offset_y()floatReturns or sets the vertical offset of the texture in points.
set_tile_offset_y(value: float)
tile_scale_x()floatReturns or sets the horizontal scale for the texture fill as a percentage.
set_tile_scale_x(value: float)
tile_scale_y()floatReturns or sets the vertical scale for the texture fill as a percentage.
set_tile_scale_y(value: float)
tile_alignment()RectangleAlignmentReturns or sets the texture tile alignment.
set_tile_alignment(value: RectangleAlignment)
tile_flip()TileFlipReturns or sets the texture tile flip mode.
set_tile_flip(value: TileFlip)
image()PPImageReturns the image used for the picture fill.
set_image(img: PPImage)

See Also