InsertPictureFrame

ShapeCollection.InsertPictureFrame method

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

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 对象。

也可以看看