Compartir a través de


HScrollBar.CopyPicture(XlPictureAppearance, XlCopyPictureFormat) Method

Definition

Copies the HScrollBar 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

Parameters

Appearance
XlPictureAppearance

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