AddPictureFrame

IShapeCollection.AddPictureFrame 方法

创建一个新的 PictureFrame 并将其添加到集合的末尾。

public IPictureFrame AddPictureFrame(ShapeType shapeType, float x, float y, float width, 
    float height, IPPImage image)
参数类型描述
shapeTypeShapeType包含在集合 ShapeType 中的形状,但不包括各种线条:
xSingle形状框架左侧的 X 坐标。
ySingle形状框架顶部的 Y 坐标。
widthSingle形状框架的宽度。
heightSingle形状框架的高度。
imageIPPImage图片框架的图像。

返回值

创建的 PictureFrame 对象。

另请参阅