LinkLabel.CopyPicture 方法

LinkLabel 以圖片形式複製到剪貼簿中。

命名空間:  Microsoft.Office.Tools.Excel.Controls
組件:  Microsoft.Office.Tools.Excel.v4.0.Utilities (在 Microsoft.Office.Tools.Excel.v4.0.Utilities.dll 中)

語法

'宣告
Public Function CopyPicture ( _
    Appearance As XlPictureAppearance, _
    Format As XlCopyPictureFormat _
) As Object
public Object CopyPicture(
    XlPictureAppearance Appearance,
    XlCopyPictureFormat Format
)

參數

傳回值

型別:System.Object
如果複製成功,則為 true,否則為 false。

備註

選擇性參數

如需選擇性參數的詳細資訊,請參閱Office 方案中的選擇性參數

範例

如需使用這個方法的程式碼範例,請參閱 Button.CopyPictureMicrosoft.Office.Tools.Excel.Controls 命名空間內的所有控制項,都有一個功能對等的 CopyPicture 方法。

.NET Framework 安全性

請參閱

參考

LinkLabel 類別

Microsoft.Office.Tools.Excel.Controls 命名空間