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
PictureFile
Type: System.ObjectRequired Object.
PictureFormat
Type: System.ObjectOptional XlChartPictureType.
Can be one of the following XlChartPictureType constants:
xlStack
xlStackScale
xlStretch
PictureStackUnit
Type: System.ObjectOptional Integer. The picture stack or scale unit (depends on the PictureFormat argument).
PicturePlacement
Type: System.ObjectOptional XlChartPicturePlacement.
Can be one of the following XlChartPicturePlacement constants:
xlAllFaces
xlEnd
xlEndSides
xlFront
xlFrontEnd
xlFrontSides
xlSides