Table of contents
TOC
Collapse the table of content
Expand the table of content

Chart.CopyPicture Method (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Copies a selected object to the Clipboard as a picture.

Syntax

expression. CopyPicture(Appearance,Format,Size)

expression A variable that represents a Chart object.

Parameters

NameRequired/OptionalData typeDescription
AppearanceOptionalLongSpecifies how the picture should be copied. Can be one of the Excel.XlPictureAppearance constants. The default value is xlScreen (1).
FormatOptionalLongSpecifies the format of the picture. Can be one of the Excel.XlCopyPictureFormat constants. The default value is xlPicture (-4147).
SizeOptionalLongSpecifies whether the size of the copied picture should be optimized for a printer or for the screen. Can be one of the Excel.XlPictureAppearance constants. The default value is xlPrinter (2).
AppearanceOptionalINT
FormatOptionalINT
SizeOptionalINT

Return value

Nothing

See also

Other resources

Chart ObjectCopy Method

© 2018 Microsoft