AddPictureFrame()
Contents
[
Hide
]ShapeCollection::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.
System::SharedPtr<IPictureFrame> Aspose::Slides::ShapeCollection::AddPictureFrame(ShapeType shapeType, float x, float y, float width, float height, System::SharedPtr<IPPImage> image) override
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 ShapeCollection
- Namespace Aspose::Slides
- Library Aspose.Slides