FillFormat.PresetTextured Method (PowerPoint)
Sets the specified fill to a preset texture.
Syntax
expression .PresetTextured(PresetTexture)
expression A variable that represents a FillFormat object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
PresetTexture |
Required |
MsoPresetTexture |
The preset texture. |
Remarks
The value of the PresetTexturedargument can be one of these 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 |
msoTextureWovenMat |
Example
This example adds a rectangle with a green-marble textured fill to myDocument.
Set myDocument = ActivePresentation.Slides(1)
myDocument.Shapes.AddShape(msoShapeCan, 90, 90, 40, 80) _
.Fill.PresetTextured msoTextureGreenMarble