UserPicture Method
Fills the specified shape with an image.
expression.UserPicture(PictureFile, PictureFormat, PictureStackUnit, PicturePlacement)expressionRequired. An expression that returns one of the objects in the Applies To list.PictureFile Required Variant. The name of the specified picture file.PictureFormat Optional XlChartPictureType. The format of the specified picture.
| XlChartPictureType can be one of these XlChartPictureType constants. |
| xlScale |
| xlStackScale
xlStack xlStretch |
| XlChartPicturePlacement can be one of these XlChartPicturePlacement constants. |
| xlSides |
| xlEnd
xlEndSides xlFront xlFrontSides xlFrontEnd xlAllFaces |
Example
This example sets the chart's fill format so that it's based on a user-supplied picture.
|