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

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

Methods

SignatureDescription
PPImage()PPImageProperty provides access to the underlying PPImage of the frame
PictureFillFormat()PictureFillFormatReturns 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()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()PictureFillFormatReturns the PictureFillFormat for this picture frame, or nullptr.
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