PictureFrame

Overview

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

Represents a picture frame shape containing an image.

This class declares 20 methods for 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. Public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package. Accessor methods: PPImage, PictureFillFormat.

Accessor Methods

NameTypeAccessDescription
PPImagePPImageReadGets the pp image.
PictureFillFormatPictureFillFormatReadGets the picture fill format.

Methods

SignatureDescription
PPImage() → PPImageReturns the image associated with this picture frame.
PictureFillFormat() → PictureFillFormatReturns the PictureFillFormat for this picture frame, or nullptr.
PictureFillFormat() → PictureFillFormatReturns the PictureFillFormat that defines the picture fill settings
PictureFillFormat() → PictureFillFormatEnables and returns the picture format for editing.
PictureFrame()Calls PictureFrame on this PictureFrame instance.
PictureFrame(type: ShapeType, x: double, y: double, w: double, h: double, image: PPImage)Calls PictureFrame(type, x, y, w, h, image) on this PictureFrame instance.
pp_image() → PPImageReturns the image associated with this picture frame.
set_pp_image(image: PPImage)Sets the image associated with this picture frame.
picture_format() → PictureFillFormatReturns the PictureFillFormat for this picture frame, or nullptr.
picture_format() → PictureFillFormatCalls picture_format on this PictureFrame instance.
ensure_picture_format() → PictureFillFormatEnables and returns the picture format for editing.
picture_frame_lock() → std::nullptr_tReturns the shape’s picture frame lock. Not yet implemented.
relative_scale_height() → doubleReturns 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() → doubleReturns 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() → boolDetermines whether this PictureFrame is a Cameo object. Always false.
pending_part_name() → std::stringReturns 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.

See Also

 English