ChartFillFormat.UserPicture(Object, Object, Object, Object) Method

Definition

Fills the specified shape with an image.

public void UserPicture (object PictureFile, object PictureFormat, object PictureStackUnit, object PicturePlacement);
Public Sub UserPicture (Optional PictureFile As Object, Optional PictureFormat As Object, Optional PictureStackUnit As Object, Optional PicturePlacement As Object)

Parameters

PictureFile
Object

Required Object.

PictureFormat
Object

Optional XlChartPictureType.Can be one of the following XlChartPictureType constants:xlStackxlStackScalexlStretch

PictureStackUnit
Object

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

PicturePlacement
Object

Optional XlChartPicturePlacement.Can be one of the following XlChartPicturePlacement constants:xlAllFacesxlEndxlEndSidesxlFrontxlFrontEndxlFrontSidesxlSides

Applies to