Aspose::Page::XPS::XpsDocument::Insert 方法
XpsDocument::Insert method
在 index 位置向活动页面插入一个元素(Canvas、Path 或 Glyphs)。
template<typename T> T Aspose::Page::XPS::XpsDocument::Insert(int32_t index, T element)
| Parameter | 描述 |
|---|---|
| T | 元素的类型。 |
| Parameter | Type | 描述 |
|---|---|---|
| 索引 | int32_t | 应插入 element 的位置。 |
| 元素 | T | 待插入的元素。 |
ReturnValue
已插入的元素。
另见
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++