InsertPictureFrame

IShapeCollection.InsertPictureFrame method

Creates a new PictureFrame and inserts it to the 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 value should be inserted.
shapeType ShapeType The shape contained in the set ShapeType of shapes, except all sorts of lines:
x Single The X-coordinate for a left side of shape’s frame.
y Single The Y-coordinate for a top side of shape’s frame.
width Single The width of shape’s frame.
height Single The height of shape’s frame.
image IPPImage The image of picture frame.

Return Value

Created PictureFrame object.

See Also