_Chart.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 XlPictureAppearance, _
Format As XlCopyPictureFormat, _
Size As XlPictureAppearance _
)
'Usage
Dim instance As _Chart
Dim Appearance As XlPictureAppearance
Dim Format As XlCopyPictureFormat
Dim Size As XlPictureAppearance
instance.CopyPicture(Appearance, Format, _
Size)
void CopyPicture(
XlPictureAppearance Appearance,
XlCopyPictureFormat Format,
XlPictureAppearance Size
)
Parameters
Appearance
Type: Microsoft.Office.Interop.Excel.XlPictureAppearanceOptional XlPictureAppearance. Specifies how the picture should be copied.
Format
Type: Microsoft.Office.Interop.Excel.XlCopyPictureFormatOptional XlCopyPictureFormat. The format of the picture.
Size
Type: Microsoft.Office.Interop.Excel.XlPictureAppearanceOptional XlPictureAppearance. The size of the copied picture when the object is a chart on a chart sheet (not embedded on a worksheet).