Chart.CopyPicture Method
Copies the selected object to the Clipboard as a picture.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Sub CopyPicture ( _
Appearance As XlPictureAppearance, _
Format As XlCopyPictureFormat, _
Size As XlPictureAppearance _
)
'Usage
Dim instance As Chart
Dim Appearance As XlPictureAppearance
Dim Format As XlCopyPictureFormat
Dim Size As XlPictureAppearance
instance.CopyPicture(Appearance, Format, _
Size)
void CopyPicture(
XlPictureAppearance Appearance,
XlCopyPictureFormat Format,
XlPictureAppearance Size
)
Parameters
- Appearance
Type: Microsoft.Office.Interop.PowerPoint.XlPictureAppearance
One of the enumeration values that specifies how the picture should be copied. The default is xlScreen.
- Format
Type: Microsoft.Office.Interop.PowerPoint.XlCopyPictureFormat
One of the enumeration values that specifies the format of the picture. The default is xlPicture.
- Size
Type: Microsoft.Office.Interop.PowerPoint.XlPictureAppearance
One of the enumeration values that specifies the size of the copied picture when the object is a chart on a chart sheet (not embedded on a worksheet). The default is xlPrinter.