Page.AddGraphics
Page.AddGraphics 方法
将图形添加到页面。比使用 AddOnPage
方法逐个添加元素更快。
public void AddGraphics(GraphicElementCollection elements, Rectangle rectangle = null)
参数 | 类型 | 描述 |
---|---|---|
elements | GraphicElementCollection | 图形集合。 |
rectangle | Rectangle | 如果元素在矩形区域内,将添加到页面。如果矩形为 null,将添加所有图形元素。 |
另请参阅
- 类 GraphicElementCollection
- 类 Rectangle
- 类 Page
- 命名空间 Aspose.Pdf
- 程序集 Aspose.PDF