Partager via


ChartObjects.CopyPicture Method

Copies the selected object to the Clipboard as a picture.

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

Syntax

'Declaration
Function CopyPicture ( _
    Appearance As XlPictureAppearance, _
    Format As XlCopyPictureFormat _
) As Object
'Usage
Dim instance As ChartObjects
Dim Appearance As XlPictureAppearance
Dim Format As XlCopyPictureFormat
Dim returnValue As Object

returnValue = instance.CopyPicture(Appearance, _
    Format)
Object CopyPicture(
    XlPictureAppearance Appearance,
    XlCopyPictureFormat Format
)

Parameters

Return Value

Type: System.Object

See Also

Reference

ChartObjects Interface

ChartObjects Members

Microsoft.Office.Interop.Excel Namespace