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
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.