Share via


ControlSite.CopyPicture Method

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)

Syntax

'Declaration
Function CopyPicture ( _
    Appearance As XlPictureAppearance, _
    Format As XlCopyPictureFormat _
) As Object
Object CopyPicture(
    XlPictureAppearance Appearance,
    XlCopyPictureFormat Format
)

Parameters

Return Value

Type: System.Object
true if the copy is successful; otherwise, false.

.NET Framework Security

See Also

Reference

ControlSite Interface

Microsoft.Office.Tools.Excel Namespace