Поделиться через


_Presentation.RemoveDocumentInformation Method

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

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Sub RemoveDocumentInformation ( _
    Type As PpRemoveDocInfoType _
)
'Usage
Dim instance As _Presentation
Dim Type As PpRemoveDocInfoType

instance.RemoveDocumentInformation(Type)
void RemoveDocumentInformation(
    PpRemoveDocInfoType Type
)

Parameters

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.

See Also

Reference

_Presentation Interface

_Presentation Members

Microsoft.Office.Interop.PowerPoint Namespace