Propriedade PresetTexturePresetTexture Property

Retorna a textura predefinida para o preenchimento especificado.Returns the preset texture for the specified fill. Somente leitura MsoPresetTexture .Read-only MsoPresetTexture .

| MsoPresetTexture pode ser uma destas constantes MsoPresetTexture. | | msoPresetTextureMixed| | msoTextureBouquet| | msoTextureCanvas| | msoTextureDenim| | msoTextureGranite| | msoTextureMediumWood| | msoTextureOak| | msoTexturePapyrus| | msoTexturePinkTissuePaper| | msoTextureRecycledPaper| | msoTextureStationery| | msoTextureWaterDroplets| | msoTextureWovenMat| | msoTextureBlueTissuePaper| | msoTextureBrownMarble| | msoTextureCork| | msoTextureFishFossil| | msoTextureGreenMarble| | msoTextureNewsprint| | msoTexturePaperBag| | msoTextureParchment| | msoTexturePurpleMesh| | msoTextureSand| | msoTextureWalnut| | msoTextureWhiteMarble||MsoPresetTexture can be one of these MsoPresetTexture constants.| | msoPresetTextureMixed| | msoTextureBouquet| | msoTextureCanvas| | msoTextureDenim| | msoTextureGranite| | msoTextureMediumWood| | msoTextureOak| | msoTexturePapyrus| | msoTexturePinkTissuePaper| | msoTextureRecycledPaper| | msoTextureStationery| | msoTextureWaterDroplets| | msoTextureWovenMat| | msoTextureBlueTissuePaper| | msoTextureBrownMarble| | msoTextureCork| | msoTextureFishFossil| | msoTextureGreenMarble| | msoTextureNewsprint| | msoTexturePaperBag| | msoTextureParchment| | msoTexturePurpleMesh| | msoTextureSand| | msoTextureWalnut| | msoTextureWhiteMarble|

expression.expression. PresetTexture

expression é obrigatório.expression Required. Uma expressão que retorna um dos objetos na lista Aplica-se a.An expression that returns one of the objects in the Applies To list. Esta propriedade é somente leitura.This property is read-only. Use o método PresetTextured para definir a textura predefinida para o preenchimento.Use the PresetTextured method to set the preset texture for the fill.

ExemploExample

Este exemplo altera o formato de preenchimento texturizado do gráfico de carvalho para nogueira.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