Partager via


ChartFillFormat.UserPicture Method

Fills the specified shape with an image.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Sub UserPicture ( _
    PictureFile As Object, _
    PictureFormat As Object, _
    PictureStackUnit As Object, _
    PicturePlacement As Object _
)
'Usage
Dim instance As ChartFillFormat
Dim PictureFile As Object
Dim PictureFormat As Object
Dim PictureStackUnit As Object
Dim PicturePlacement As Object

instance.UserPicture(PictureFile, PictureFormat, _
    PictureStackUnit, PicturePlacement)
void UserPicture(
    Object PictureFile,
    Object PictureFormat,
    Object PictureStackUnit,
    Object PicturePlacement
)

Parameters

  • PictureStackUnit
    Type: System.Object

    Optional Integer. The picture stack or scale unit (depends on the PictureFormat argument).

  • PicturePlacement
    Type: System.Object

    Optional XlChartPicturePlacement.

    Can be one of the following XlChartPicturePlacement constants:

    xlAllFaces

    xlEnd

    xlEndSides

    xlFront

    xlFrontEnd

    xlFrontSides

    xlSides

See Also

Reference

ChartFillFormat Interface

ChartFillFormat Members

Microsoft.Office.Interop.Excel Namespace