CheckBox.CopyPicture(XlPictureAppearance, XlCopyPictureFormat) Method
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 CheckBox 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);
member this.CopyPicture : Microsoft.Office.Interop.Excel.XlPictureAppearance * Microsoft.Office.Interop.Excel.XlCopyPictureFormat -> obj
Public Function CopyPicture (Appearance As XlPictureAppearance, Format As XlCopyPictureFormat) As Object
- Appearance
- XlPictureAppearance
Specifies how the picture should be copied.
- Format
- XlCopyPictureFormat
The format of the picture. Accepts the value xlPicture.
true
if the copy is successful; otherwise, false
.
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.
For information on optional parameters, see Optional Parameters in Office Solutions.