Freigeben über


Shapes.AddTitle Method

Restores a previously deleted title placeholder to a slide. Returns a Shape object that represents the restored title.

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

Syntax

'Declaration
Function AddTitle As Shape
'Usage
Dim instance As Shapes
Dim returnValue As Shape

returnValue = instance.AddTitle()
Shape AddTitle()

Return Value

Type: Microsoft.Office.Interop.PowerPoint.Shape

Remarks

This method will cause an error if you have not previously deleted the title placeholder from the specified slide. Use the HasTitle property to determine whether the title placeholder has been deleted.

See Also

Reference

Shapes Interface

Shapes Members

Microsoft.Office.Interop.PowerPoint Namespace