PresetTextured Method

Applies To

FillFormat object.

Description

Sets the specified fill to a preset texture.

Syntax

expression.PresetTextured(PresetTexture)

expression Required. An expression that returns a FillFormat object.

PresetTexture Required Long. The preset texture. Can be one of the following MsoPresetTexture constants:

  • 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 = ActiveDocument
myDocument.Shapes.AddShape(msoShapeCan, 90, 90, 40, 80) _
    .Fill.PresetTextured msoTextureGreenMarble