Share via


Point.Paste Method

Pastes a picture from the Clipboard as the marker on the selected point.

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

Syntax

'Declaration
Function Paste As Object
'Usage
Dim instance As Point
Dim returnValue As Object

returnValue = instance.Paste()
Object Paste()

Return Value

Type: System.Object

Remarks

This method can be used on column, bar, line, or radar charts, and it sets the MarkerStyle property to xlMarkerStylePicture.

Examples

This example pastes a picture from the Clipboard into point one in series one for the first chart in the active document.

With ActivePresentation.Slides(1).Shapes(1)

    If .HasChart Then

        .Chart.SeriesCollection(1).Points(1).PasteEnd If

End With

See Also

Reference

Point Interface

Point Members

Microsoft.Office.Interop.PowerPoint Namespace