Aspose::Page::XPS::XpsDocument::InsertDocument 方法

XpsDocument::InsertDocument(int32_t, bool) method

index 位置插入一个具有默认页面尺寸的空文档。

void Aspose::Page::XPS::XpsDocument::InsertDocument(int32_t index, bool activate=true)
ParameterType描述
索引int32_t应插入文档的位置。
激活bool标志,指示是否将插入的文档设为活动状态。

另见

XpsDocument::InsertDocument(int32_t, float, float, bool) method

index 位置插入一个空文档,其首页尺寸为 widthheight

void Aspose::Page::XPS::XpsDocument::InsertDocument(int32_t index, float width, float height, bool activate=true)
ParameterType描述
索引int32_t应插入文档的位置。
width单精度浮点数第一页的宽度。
height单精度浮点数第一页的高度。
激活bool标志,指示是否将插入的文档设为活动状态。

另见