PresetTextured Method

Applies To

ChartFillFormat object.

Description

Sets the format of the specified fill to a preset texture.

Syntax

expression.PresetTextured(PresetTexture)

expression An expression that returns a ChartFillFormat object.

PresetTexture Required Long. The preset texture for the specified fill. Can be one of the following MsoPresetTexture constants: msoPresetTextureMixed, msoTextureBlueTissuePaper, msoTextureBouquet, msoTextureBrownMarble, msoTextureCanvas, msoTextureCork, msoTextureDenim, msoTextureFishFossil, msoTextureGranite, msoTextureGreenMarble, msoTextureMediumWood, msoTextureNewsprint, msoTextureOak, msoTexturePaperBag, msoTexturePapyrus, msoTextureParchment, msoTexturePinkTissuePaper, msoTexturePurpleMesh, msoTextureRecycledPaper, msoTextureSand, msoTextureStationery, msoTextureWalnut, msoTextureWaterDroplets, msoTextureWhiteMarble, or msoTextureWovenMat.

Example

This example changes the chart's textured fill format from oak to walnut.

With myChart.ChartArea.Fill
    If .Type = msoFillTextured Then
        If .TextureType = msoTexturePreset Then
            If .PresetTexture = msoTextureOak Then
                .PresetTextured msoTextureWalnut
            End If
        End If
    End If
End With