title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Presentation.RemoveDocumentInformation method (PowerPoint) |
vbapp10.chm583094 |
|
|
2c9d5cc5-8fc9-d650-b1cf-9fa3e409be1c |
06/08/2017 |
medium |
Removes document information, such as personal information, comments, and document properties, from a Microsoft PowerPoint presentation.
expression. RemoveDocumentInformation
( _Type_
)
expression An expression that returns a Presentation object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
Type | Required | PpRemoveDocInfoType | Type of information to be removed. |
The Type parameter value can be a combination of one or more of these PpRemoveDocInfoType constants.
Constant | Description |
---|---|
ppRDIAll | Remove all document information. |
ppRDIComments | Remove comments. |
ppRDIContentType | Remove content type information. |
ppRDIDocumentManagementPolicy | Remove document management policy information. |
ppRDIDocumentProperties | Remove document properties. |
ppRDIDocumentServerProperties | Remove document server properties. |
ppRDIDocumentWorkspace | Remove document workspace information. |
ppRDIInkAnnotations | Remove Ink annotations. |
ppRDIPublishPath | Remove publication path information. |
ppRDIRemovePersonalInformation | Remove personal information. |
ppRDISlideUpdateInformation | Remove slide update information. |
The following example shows how to use the RemoveDocumentInformation method to remove comments and Ink annotations from the active presentation.
Public Sub RemoveDocumentInformation_Example()
ActivePresentation.RemoveDocumentInformation (ppRDIComments + ppRDIInkAnnotations)
End Sub
[!includeSupport and feedback]