Chart.CopyPicture Method
Copies the selected object to the Clipboard as a picture.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.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.Word.XlPictureAppearance
Optional XlPictureAppearance Specifies how the picture should be copied. The default value is xlScreen.
- Format
Type: Microsoft.Office.Interop.Word.XlCopyPictureFormat
Optional XlCopyPictureFormat The format of the picture. The default value is xlPicture.
- Size
Type: Microsoft.Office.Interop.Word.XlPictureAppearance
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.