API usagePDF APIApiDocumentMethodsRemovePage本页总览RemovePageAsk a question 按索引从文档移除页面 语法 expression.RemovePage(nPos); expression - 表示 ApiDocument 类的变量。 参数 名称必需/可选数据类型默认值描述nPos必需number页面位置 返回值 boolean 示例 此示例展示如何从文档中删除页面。 CodeResultPlaygroundlet doc = Api.GetDocument();doc.AddPage(1);doc.RemovePage(0);