Shapes.AddTitle Method
PowerPoint Developer Reference |
Restores a previously deleted title placeholder to a slide. Returns a Shape object that represents the restored title.
Syntax
expression.AddTitle
expression A variable that represents a Shapes object.
Return Value
Shape
Remarks
This method will cause an error if you haven't previously deleted the title placeholder from the specified slide. Use the HasTitle property to determine whether the title placeholder has been deleted.
Example
This example restores the title placeholder to slide one in the active presentation if this placeholder has been deleted. The text of the restored title is "Restored title."
Visual Basic for Applications |
---|
|
See Also