Table of contents
TOC
折叠目录
展开目录

Presentation.RemovePersonalInformation 属性 (PowerPoint)Presentation.RemovePersonalInformation Property (PowerPoint)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

确定 Microsoft PowerPoint 在保存演示文稿时是否应从批注和修订中删除所有用户信息。可读/写。Determines whether Microsoft PowerPoint should remove all user information from comments and revisions upon saving a presentation. Read/write.

语法Syntax

表达式RemovePersonalInformationexpression. RemovePersonalInformation

表达式_一个表示演示文稿对象的变量。_expression A variable that represents a Presentation object.

返回值Return Value

MsoTriStateMsoTriState

注解Remarks

RemovePersonalInformation属性的值可以是其中一个MsoTriState常量。The value of the RemovePersonalInformation property can be one of these MsoTriState constants.

常量Constant说明Description
msoFalsemsoFalse批注、修订和个人信息保留在演示文稿中。Comments, revisions, and personal information remain in the presentation.
属性值为 msoTruemsoTrue保存演示文稿时删除批注、修订和个人信息。Removes comments, revisions, and personal information when saving presentation.

示例Example

以下示例设置在用户下次保存当前演示文稿时删除所有个人信息。This example sets the active presentation to remove personal information the next time the user saves it.

Sub RemovePersonalInfo()

    ActivePresentation.RemovePersonalInformation = msoTrue

End Sub

另请参阅See also

概念Concepts

演示文稿对象Presentation Object

© 2018 Microsoft