PictureFrame
Overview
PictureFrame is a class in Aspose.Slides FOSS for C++.
Represents a picture frame shape containing an image.
This class provides 20 methods for working with PictureFrame objects in C++ programs.
Available methods include: PPImage, PictureFillFormat, PictureFrame, clear_pending_part_name, ensure_picture_format, is_cameo, pending_part_name, picture_format, picture_frame_lock, pp_image, relative_scale_height, relative_scale_width, and 4 additional methods.
All public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package.
Properties: PPImage, PictureFillFormat.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
PPImage | PPImage | Read | Gets the pp image. |
PictureFillFormat | PictureFillFormat | Read | Gets the picture fill format. |
Methods
| Signature | Description |
|---|---|
PPImage() → PPImage | Property provides access to the underlying PPImage of the frame |
PictureFillFormat() → PictureFillFormat | Returns the PictureFillFormat that defines the picture fill settings |
PictureFillFormat() → PictureFillFormat | |
PictureFillFormat() → PictureFillFormat | |
PictureFrame() | |
PictureFrame(type: ShapeType, x: double, y: double, w: double, h: double, image: PPImage) | |
pp_image() → PPImage | Returns the image associated with this picture frame. |
set_pp_image(image: PPImage) | Sets the image associated with this picture frame. |
picture_format() → PictureFillFormat | Returns the PictureFillFormat for this picture frame, or nullptr. |
picture_format() → PictureFillFormat | Returns the PictureFillFormat for this picture frame, or nullptr. |
ensure_picture_format() → PictureFillFormat | Enables and returns the picture format for editing. |
picture_frame_lock() → std::nullptr_t | Returns the shape’s picture frame lock. Not yet implemented. |
relative_scale_height() → double | Returns the scale of height relative to original picture size. Value 1.0 corresponds to 100%. |
set_relative_scale_height(value: double) | Sets the scale of height relative to original picture size. |
relative_scale_width() → double | Returns the scale of width relative to original picture size. Value 1.0 corresponds to 100%. |
set_relative_scale_width(value: double) | Sets the scale of width relative to original picture size. |
is_cameo() → bool | Determines whether this PictureFrame is a Cameo object. Always false. |
pending_part_name() → std::string | Returns the pending part name for deferred image resolution. |
set_pending_part_name(value: std::string) | Sets a pending part name for deferred image resolution. |
clear_pending_part_name() | Clears the pending part name. |