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