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.

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

See also

FillFormat Object

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.