次の方法で共有


ControlSite.CopyPicture(XlPictureAppearance, XlCopyPictureFormat) Method

Definition

Copies the ControlSite to the Clipboard as a picture.

public:
 System::Object ^ CopyPicture(Microsoft::Office::Interop::Excel::XlPictureAppearance Appearance, Microsoft::Office::Interop::Excel::XlCopyPictureFormat Format);
public object CopyPicture (Microsoft.Office.Interop.Excel.XlPictureAppearance Appearance, Microsoft.Office.Interop.Excel.XlCopyPictureFormat Format);
abstract member CopyPicture : Microsoft.Office.Interop.Excel.XlPictureAppearance * Microsoft.Office.Interop.Excel.XlCopyPictureFormat -> obj
Public Function CopyPicture (Appearance As XlPictureAppearance, Format As XlCopyPictureFormat) As Object

Parameters

Appearance
XlPictureAppearance

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

Format
XlCopyPictureFormat

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

Returns

true if the copy is successful; otherwise, false.

Applies to