Share via


Shape.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
Sub CopyPicture ( _
    Appearance As Object, _
    Format As Object _
)
'Usage
Dim instance As Shape
Dim Appearance As Object
Dim Format As Object

instance.CopyPicture(Appearance, Format)
void CopyPicture(
    Object Appearance,
    Object Format
)

Parameters

  • Appearance
    Type: System.Object

    Optional Object. Specifies how the picture should be copied.

  • Format
    Type: System.Object

    Optional Object. The format of the picture.

See Also

Reference

Shape Interface

Shape Members

Microsoft.Office.Interop.Excel Namespace