AddPictureFrame
IShapeCollection.AddPictureFrame method
Creates a new picture frame containing the specified image and adds it to the end of the shape collection.
public IPictureFrame AddPictureFrame(ShapeType shapeType, float x, float y, float width,
float height, IPPImage image)
Parameter | Type | Description |
---|---|---|
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