Share via


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

Concepts

Presentation Object

Presentation Object Members