AddPictureFrame()
Contents
[
Hide
]IShapeCollection::AddPictureFrame(ShapeType, float, float, float, float, System::SharedPtr<IPPImage>) method
Creates a new picture frame containing the specified image and adds it to the end of the shape collection.
virtual System::SharedPtr<IPictureFrame> Aspose::Slides::IShapeCollection::AddPictureFrame(ShapeType shapeType, float x, float y, float width, float height, System::SharedPtr<IPPImage> image)=0
Arguments
| Parameter | Type | Description | 
|---|---|---|
| shapeType | ShapeType | Specifies the shape type contained in ShapeType, except for all kinds of lines: | 
ShapeType::StraightConnector1,
ShapeType::CurvedConnector5. | | x | float | The x-coordinate of the picture frame, in points. | | y | float | The y-coordinate of the picture frame, in points. | | width | float | The width of the picture frame, in points. | | height | float | The height of the picture frame, in points. | | image | System::SharedPtr<IPPImage> | The IPPImage to display in the picture frame. |
Return Value
The newly created IPictureFrame.
See Also
- Enum ShapeType
 - Typedef SharedPtr
 - Class IPictureFrame
 - Class IPPImage
 - Class IShapeCollection
 - Namespace Aspose::Slides
 - Library Aspose.Slides