OLEObjects.CopyPicture(XlPictureAppearance, XlCopyPictureFormat) 方法

定义

将所选对象作为图片复制到剪贴板。

public object CopyPicture (Microsoft.Office.Interop.Excel.XlPictureAppearance Appearance = Microsoft.Office.Interop.Excel.XlPictureAppearance.xlPrinter, Microsoft.Office.Interop.Excel.XlCopyPictureFormat Format = Microsoft.Office.Interop.Excel.XlCopyPictureFormat.xlPicture);
Public Function CopyPicture (Optional Appearance As XlPictureAppearance = Microsoft.Office.Interop.Excel.XlPictureAppearance.xlPrinter, Optional Format As XlCopyPictureFormat = Microsoft.Office.Interop.Excel.XlCopyPictureFormat.xlPicture) As Object

参数

Appearance
XlPictureAppearance

可选 XlPictureAppearance。 指定图片的复制方式。

Format
XlCopyPictureFormat

可选 XlCopyPictureFormat。 图片的格式。

返回

适用于