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.ObjectOptional Object. Specifies how the picture should be copied.
Format
Type: System.ObjectOptional Object. The format of the picture.