ControlSite.CopyPicture(XlPictureAppearance, XlCopyPictureFormat) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.