共用方式為


Chart.CopyPicture Method (Excel)

Copies the selected object to the Clipboard as a picture.

Syntax

expression .CopyPicture(Appearance, Format, Size)

expression A variable that represents a Chart object.

Parameters

Name

Required/Optional

Data Type

Description

Appearance

Optional

XlPictureAppearance

. Specifies how the picture should be copied. The default value is xlScreen.

Format

Optional

XlCopyPictureFormat

. The format of the picture. The default value is xlPicture.

Size

Optional

XlPictureAppearance

The size of the copied picture when the object is a chart on a chart sheet (not embedded on a worksheet). The default value is xlPrinter.

請參閱

概念

Chart Object

Chart Object Members