ChartFillFormat.UserPicture Method
Fills the specified shape with one large image.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.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.Object
The filename of the image.
- PictureFormat
Type: System.Object
An XlChartPictureType value that indicates the format of the picture.
- PictureStackUnit
Type: System.Object
A Double value that specifies the picture stack or scale unit (depends on the PictureFormat argument).
- PicturePlacement
Type: System.Object
An XlChartPicturePlacement value that indicates the placement of the picture.
Remarks
If you want to fill the shape with small tiles of an image, use the UserTextured(String) method.