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)

'Usage
Dim Appearance As XlPictureAppearance
Dim Format As XlCopyPictureFormat
Dim Size As XlPictureAppearance
Dim _Chart1 As _Chart
_Chart1.CopyPicture(Appearance, Format, Size)

void CopyPicture(
	[In, Optional] XlPictureAppearance Appearance, 
	[In, Optional] XlCopyPictureFormat Format, 
	[In, Optional] XlPictureAppearance Size
);
public void CopyPicture(
	/*in*/XlPictureAppearance Appearance, 
	/*in*/XlCopyPictureFormat Format, 
	/*in*/XlPictureAppearance Size
);
function CopyPicture(
	 Appearance : XlPictureAppearance, 
	 Format : XlCopyPictureFormat, 
	 Size : XlPictureAppearance
);

Parameters

Appearance

Optional XlPictureAppearance. Specifies how the picture should be copied.

Format

Optional XlCopyPictureFormat. The format of the picture.

Size

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Show:
© 2016 Microsoft