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)
ParameterTypeDescription
shapeTypeShapeTypeThe shape contained in the set ShapeType of shapes, except all sorts of lines:
xSingleThe X-coordinate for a left side of shape’s frame.
ySingleThe Y-coordinate for a top side of shape’s frame.
widthSingleThe width of shape’s frame.
heightSingleThe height of shape’s frame.
imageIPPImageThe image of picture frame.

Return Value

Created PictureFrame object.

See Also