Sets the specified fill to a preset texture.
expression.PresetTextured(PresetTexture)
expression Required. An expression that returns a FillFormat object.
PresetTexture Required MsoPresetTexture. The preset texture.
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 |
Example
This example adds a rectangle with a green-marble textured fill to the active document.
ActiveDocument.Shapes.AddShape(msoShapeCan, 90, 90, 40, 80) _
.Fill.PresetTextured msoTextureGreenMarble