XpsDocument.InsertDocument

InsertDocument(int, bool)

插入默认页面大小为 的空文档index位置.

public void InsertDocument(int index, bool activate = true)
范围类型描述
indexInt32应插入文档的位置。
activateBoolean指示是否将插入的文档选择为活动的标志。

也可以看看


InsertDocument(int, float, float, bool)

插入第一页尺寸为 的空文档widthheightindex位置.

public void InsertDocument(int index, float width, float height, bool activate = true)
范围类型描述
indexInt32应插入文档的位置。
widthSingle第一页的宽度。
heightSingle第一页的高度。
activateBoolean指示是否将插入的文档选择为活动的标志。

也可以看看