AddPictureFrame

IShapeCollection.AddPictureFrame method

Creates a new PictureFrame and adds it to the end of the collection.

public IPictureFrame AddPictureFrame(ShapeType shapeType, float x, float y, float width, 
    float height, IPPImage image)
Parameter Type Description
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