OLEObjectClass.CopyPicture Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Public Overridable Function CopyPicture ( _
Appearance As XlPictureAppearance, _
Format As XlCopyPictureFormat _
) As Object
'Usage
Dim instance As OLEObjectClass
Dim Appearance As XlPictureAppearance
Dim Format As XlCopyPictureFormat
Dim returnValue As Object
returnValue = instance.CopyPicture(Appearance, _
Format)
public virtual Object CopyPicture(
XlPictureAppearance Appearance,
XlCopyPictureFormat Format
)
Parameters
- Appearance
Type: Microsoft.Office.Interop.Excel.XlPictureAppearance
- Format
Type: Microsoft.Office.Interop.Excel.XlCopyPictureFormat
Return Value
Type: System.Object
Implements
_OLEObject.CopyPicture(XlPictureAppearance, XlCopyPictureFormat)