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
| Name | Type | Access | Description |
|---|---|---|---|
PictureFillMode | PictureFillMode | Read | Gets the picture fill mode. |
Picture | Picture | Read | Gets the picture. |
RectangleAlignment | RectangleAlignment | Read | Gets the rectangle alignment. |
TileFlip | TileFlip | Read | Gets the tile flip. |
PPImage | PPImage | Read | Gets the pp image. |
Methods
| Signature | Description |
|---|---|
PictureFillMode() → PictureFillMode | Property gets or sets the picture fill mode |
Picture() → Picture | Property gets or sets the Picture object |
Picture() → Picture | |
RectangleAlignment() → RectangleAlignment | Returns the alignment of the picture within its rectangle |
TileFlip() → TileFlip | Returns the tile flip setting for the picture fill |
PPImage() → PPImage | Returns 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_node | Get the child element. |
get_or_create_src_rect() → pugi::xml_node | Get or create the element for crop values. |
get_stretch() → pugi::xml_node | Get the child element. |
get_or_create_fill_rect() → pugi::xml_node | Get or create the element under . |
get_crop_value(attr: std::string_view) → float | Get 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) → float | Get 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_node | Get the element, or empty node if absent. |
ensure_tile() → pugi::xml_node | Get or create the element, removing if present. |
save() | Save changes via the save callback. |
dpi() → int | Returns or sets the dpi used to fill a picture. |
set_dpi(value: int) | |
picture_fill_mode() → PictureFillMode | Returns the picture fill mode. |
set_picture_fill_mode(value: PictureFillMode) | |
picture() → Picture | Returns the picture associated with the fill. |
picture() → Picture | Returns the picture associated with the fill. |
crop_left() → float | Returns or sets the number of percents of real image width cropped off the left. |
set_crop_left(value: float) | |
crop_top() → float | Returns or sets the number of percents of real image height cropped off the top. |
set_crop_top(value: float) | |
crop_right() → float | Returns or sets the number of percents of real image width cropped off the right. |
set_crop_right(value: float) | |
crop_bottom() → float | Returns or sets the number of percents of real image height cropped off the bottom. |
set_crop_bottom(value: float) | |
stretch_offset_left() → float | Returns or sets the left edge stretch offset as a percentage. |
set_stretch_offset_left(value: float) | |
stretch_offset_top() → float | Returns or sets the top edge stretch offset as a percentage. |
set_stretch_offset_top(value: float) | |
stretch_offset_right() → float | Returns or sets the right edge stretch offset as a percentage. |
set_stretch_offset_right(value: float) | |
stretch_offset_bottom() → float | Returns or sets the bottom edge stretch offset as a percentage. |
set_stretch_offset_bottom(value: float) | |
tile_offset_x() → float | Returns or sets the horizontal offset of the texture in points. |
set_tile_offset_x(value: float) | |
tile_offset_y() → float | Returns or sets the vertical offset of the texture in points. |
set_tile_offset_y(value: float) | |
tile_scale_x() → float | Returns or sets the horizontal scale for the texture fill as a percentage. |
set_tile_scale_x(value: float) | |
tile_scale_y() → float | Returns or sets the vertical scale for the texture fill as a percentage. |
set_tile_scale_y(value: float) | |
tile_alignment() → RectangleAlignment | Returns or sets the texture tile alignment. |
set_tile_alignment(value: RectangleAlignment) | |
tile_flip() → TileFlip | Returns or sets the texture tile flip mode. |
set_tile_flip(value: TileFlip) | |
image() → PPImage | Returns the image used for the picture fill. |
set_image(img: PPImage) |