UserTextured Method

Applies To

ChartFillFormat object.

Description

Fills the specified shape with small tiles of an image. If you want to fill the shape with one large image, use the UserPicture method.

Syntax

expression.UserTextured(TextureFile)

expression Required. An expression that returns a ChartFillFormat object.

TextureFile Required String. The name of the specified picture file.

Example

This example changes the user-defined texture type for the chart's fill format.

With myChart.ChartArea.Fill
    If .Type = msoFillTextured Then
        If .TextureType = msoTextureUserDefined Then
            If .TextureName = "C:\brick.bmp" Then 
                .UserTextured "C:\stone.bmp"
            End If
        End If
    End If
End With