Compartilhar via


FillFormat.PresetTextured Method

Word Developer Reference

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.

Visual Basic for Applications
  ActiveDocument.Shapes.AddShape(msoShapeCan, 90, 90, 40, 80) _
    .Fill.PresetTextured msoTextureGreenMarble

See Also