InsertPictureFrame()
Contents
[
Hide
]ShapeCollection::InsertPictureFrame(int32_t, ShapeType, float, float, float, float, System::SharedPtr<IPPImage>) method
Creates a new picture frame containing the specified image and inserts it into the shape collection at the specified index.
System::SharedPtr<IPictureFrame> Aspose::Slides::ShapeCollection::InsertPictureFrame(int32_t index, ShapeType shapeType, float x, float y, float width, float height, System::SharedPtr<IPPImage> image) override
Arguments
Parameter | Type | Description |
---|---|---|
index | int32_t | The zero-based index at which to insert the picture frame. |
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