CopyPicture Method
This documentation is archived and is not being maintained.

_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)

'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)

Parameters

Appearance
Type: Microsoft.Office.Interop.Excel.XlPictureAppearance

Optional XlPictureAppearance. Specifies how the picture should be copied.

Format
Type: Microsoft.Office.Interop.Excel.XlCopyPictureFormat

Optional XlCopyPictureFormat. The format of the picture.

Size
Type: Microsoft.Office.Interop.Excel.XlPictureAppearance

Optional XlPictureAppearance. The size of the copied picture when the object is a chart on a chart sheet (not embedded on a worksheet).

Show:
© 2016 Microsoft