insert_picture_frame method
insert_picture_frame
Creates a new PictureFrame and inserts it to the collection at the specified index.
Returns
Created PictureFrame object.
def insert_picture_frame(self, index, shape_type, x, y, width, height, image):
...
Parameter | Type | Description |
---|---|---|
index | int | The zero-based index at which value should be inserted. |
shape_type | ShapeType | The shape contained in the set ShapeType of shapes, except all sorts of lines: ShapeType.Line, ShapeType.StraightConnector1, ShapeType.BentConnector2, ShapeType.BentConnector3, ShapeType.BentConnector4, ShapeType.BentConnector5, ShapeType.CurvedConnector2, ShapeType.CurvedConnector3, ShapeType.CurvedConnector4, ShapeType.CurvedConnector5. |
x | float | The X-coordinate for a left side of shape’s frame. |
y | float | The Y-coordinate for a top side of shape’s frame. |
width | float | The width of shape’s frame. |
height | float | The height of shape’s frame. |
image | IPPImage | The image of picture frame. |
See Also
- class
IPictureFrame
- class
IPPImage
- class
IShapeCollection
- enumeration
ShapeType
- module
aspose.slides
- library
Aspose.Slides