插入图片框

ShapeCollection.InsertPictureFrame 方法

创建一个新的图片框并将其插入到指定索引的集合中。

public IPictureFrame InsertPictureFrame(int index, ShapeType shapeType, float x, float y, 
    float width, float height, IPPImage image)
参数类型描述
indexInt32应该插入值的零基索引。
shapeTypeShapeType在集合中包含的形状 ShapeType,除了各种线条:
xSingle形状框左侧的 X 坐标。
ySingle形状框顶部的 Y 坐标。
widthSingle形状框的宽度。
heightSingle形状框的高度。
imageIPPImage图片框的图像。

返回值

创建的 PictureFrame 对象。

另请参见