Прочитать на английском

Поделиться через


CheckBox.CopyPicture(XlPictureAppearance, XlCopyPictureFormat) Method

Definition

Copies the CheckBox to the Clipboard as a picture.

public object CopyPicture (Microsoft.Office.Interop.Excel.XlPictureAppearance Appearance, Microsoft.Office.Interop.Excel.XlCopyPictureFormat Format);

Parameters

Appearance
XlPictureAppearance

Specifies how the picture should be copied.

Format
XlCopyPictureFormat

The format of the picture. Accepts the value xlPicture.

Returns

true if the copy is successful; otherwise, false.

Examples

For a code example that demonstrates how to use this method, see Microsoft.Office.Interop.Excel.Button.CopyPicture. All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent CopyPicture method.

Remarks

Optional Parameters

For information on optional parameters, see Optional Parameters in Office Solutions.

Applies to