ControlSite.CopyPicture Method (XlPictureAppearance, XlCopyPictureFormat)

 

Copies the ControlSite to the Clipboard as a picture.

Namespace:   Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

object CopyPicture(
	XlPictureAppearance Appearance,
	XlCopyPictureFormat Format
)

Parameters

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

One of the XlPictureAppearance values that specifies how the picture should be copied.

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

One of the XlCopyPictureFormat values that specifies the format of the picture.

Return Value

Type: System.Object

true if the copy is successful; otherwise, false.

Return to top
Show: