InsertPictureFrame
IShapeCollection.InsertPictureFrame 方法
创建一个新的 PictureFrame,并将其插入到指定索引的集合中。
public IPictureFrame InsertPictureFrame(int index, ShapeType shapeType, float x, float y,
float width, float height, IPPImage image)
参数 | 类型 | 描述 |
---|---|---|
index | Int32 | 应该插入值的零基索引。 |
shapeType | ShapeType | 包含在集合 ShapeType 中的形状,除所有种类的线外: |
x | Single | 形状框左侧的 X 坐标。 |
y | Single | 形状框顶部的 Y 坐标。 |
width | Single | 形状框的宽度。 |
height | Single | 形状框的高度。 |
image | IPPImage | 图片框的图片。 |
返回值
创建的 PictureFrame 对象。
另见
- 接口 IPictureFrame
- 枚举 ShapeType
- 接口 IPPImage
- 接口 IShapeCollection
- 命名空间 Aspose.Slides
- 程序集 Aspose.Slides