FillFormat.PresetTextured Method (Word)
Sets the specified fill to a preset texture.
Syntax
expression .PresetTextured(PresetTexture)
expression Required. A variable that represents a FillFormat object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
PresetTexture |
Required |
MsoPresetTexture |
The preset texture. |
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