PresetTexture Property

Applies To

ChartFillFormat object.

Description

Returns 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. Read-only Long.

This property is read-only. Use the PresetTextured method to set the preset texture for the fill.

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