WPS 基础接口 > 文字 API 参考 > PageSetup > 属性 > PageSetup.SuppressEndnotes 属性
如果在下一个没有隐藏尾注的节的末尾打印尾注,则该属性值为 TrueLong 类型,可读写。

语法

表达式.SuppressEndnotes

表达式   返回 PageSetup 对象的表达式。

说明

在该节的尾注之前打印隐藏的尾注。仅当 Location 属性设为 wdEndOfSection 时,该属性才有效。

示例

本示例隐藏活动文档中第一节的尾注。

示例代码
if(ActiveDocument.Endnotes.Location == wdEndOfSection) {
    ActiveDocument.Sections.Item(1).PageSetup.SuppressEndnotes = true
}


请参阅