Share via


Presentation.BuiltInDocumentProperties Property

PowerPoint Developer Reference

Returns a DocumentProperties collection that represents all the built-in document properties for the specified presentation. Read-only.

Syntax

expression.BuiltInDocumentProperties

expression   A variable that represents a Presentation object.

Return Value
DocumentProperties

Remarks

Use the CustomDocumentProperties property to return the collection of custom document properties.

For information about returning a single member of a collection, see How to: Return Objects from Collections.

Example

This example displays the names of all the built-in document properties for the active presentation.

Visual Basic for Applications
  For Each p In Application.ActivePresentation _
        .BuiltInDocumentProperties
    bidpList = bidpList & p.Name & Chr$(13)
Next
MsgBox bidpList

This example sets the "Category" built-in property for the active presentation if the author of the presentation is Jake Jarmel.

Visual Basic for Applications
  With Application.ActivePresentation.BuiltInDocumentProperties
    If .Item("author").Value = "Jake Jarmel" Then
        .Item("category").Value = "Creative Writing"
    End If
End With

See Also