UserPicture Method

         Example         Applies To

Fills the specified shape with an image.

Syntax

expression.UserPicture(PictureFile, PictureFormat, PictureStackUnit, PicturePlacement)

expression   An expression that returns a FillFormat object.

PictureFile   Required String. The name of the picture file.

PictureFormat   Required Long. The picture format. Can be one of the following XlChartPictureType constants: xlStack, xlStackScale, or xlStretch.

PictureStackUnit   Required Long. The picture stack or scale unit (depends on the PictureFormat argument).

PicturePlacement   Required Long. The picture placement. Can be one of the following XlChartPicturePlacement constants: xlAllFaces, xlEnd, xlEndSides, xlFront, xlFrontEnd, xlFrontSides, or xlSides.