Share via


Shape.Apply Method

Applies to the specified shape formatting that's been copied by using the PickUp method.

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

Syntax

'Declaration
Sub Apply
'Usage
Dim instance As Shape

instance.Apply()
void Apply()

Examples

This example copies the formatting of shape one on myDocument, and then applies the copied formatting to shape two.

Set myDocument = ActivePresentation.Slides(1)

With myDocument

    .Shapes(1).PickUp

    .Shapes(2).ApplyEnd With

See Also

Reference

Shape Interface

Shape Members

Microsoft.Office.Interop.PowerPoint Namespace