InsertPictureFrame
IShapeCollection.InsertPictureFrame method
Creates a new picture frame containing the specified image and inserts it into the shape collection at the specified index.
public IPictureFrame InsertPictureFrame(int index, ShapeType shapeType, float x, float y,
float width, float height, IPPImage image)
Parameter | Type | Description |
---|---|---|
index | Int32 | 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: |
x | Single | The x-coordinate of the picture frame, in points. |
y | Single | The y-coordinate of the picture frame, in points. |
width | Single | The width of the picture frame, in points. |
height | Single | The height of the picture frame, in points. |
image | IPPImage | The IPPImage to display in the picture frame. |
Return Value
The newly created IPictureFrame
.
See Also
- interface IPictureFrame
- enum ShapeType
- interface IPPImage
- interface IShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides