Skip to content

Latest commit

 

History

History
77 lines (45 loc) · 2.07 KB

PowerPoint.Presentation.RemoveDocumentInformation.md

File metadata and controls

77 lines (45 loc) · 2.07 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Presentation.RemoveDocumentInformation method (PowerPoint)
vbapp10.chm583094
vbapp10.chm583094
PowerPoint.Presentation.RemoveDocumentInformation
2c9d5cc5-8fc9-d650-b1cf-9fa3e409be1c
06/08/2017
medium

Presentation.RemoveDocumentInformation method (PowerPoint)

Removes document information, such as personal information, comments, and document properties, from a Microsoft PowerPoint presentation.

Syntax

expression. RemoveDocumentInformation( _Type_ )

expression An expression that returns a Presentation object.

Parameters

Name Required/Optional Data type Description
Type Required PpRemoveDocInfoType Type of information to be removed.

Remarks

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.

Example

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

See also

Presentation Object

[!includeSupport and feedback]