_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
- Type
Type: Microsoft.Office.Interop.PowerPoint.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 |
---|---|
Remove all document information. |
|
Remove comments. |
|
Remove content type information. |
|
Remove document management policy information. |
|
Remove document properties. |
|
Remove document server properties. |
|
Remove document workspace information. |
|
Remove Ink annotations. |
|
Remove publication path information. |
|
Remove personal information. |
|
Remove slide update information. |