InsertBlankPage
在当前位置插入空白页。
语法
expression.InsertBlankPage();
expression - 表示 ApiDocument 类的变量。
参数
此方法没有任何参数。
返回值
boolean
示例
在文档中当前光标位置插入空白页。
// How can I insert the blank page using a document in a document?
// Insert the blank page for a document in a document.
const doc = Api.GetDocument();
doc.InsertBlankPage();
const paragraph = Api.CreateParagraph();
paragraph.AddText('This text is on the page after the blank one.');
doc.Push(paragraph);