Table of contents
TOC
Collapse the table of content
Expand the table of content

FillFormat.PresetTextured Method (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Sets the specified fill to a preset texture.

Syntax

expression. PresetTextured( PresetTexture )

expression A variable that represents a FillFormat object.

Parameters

NameRequired/OptionalData TypeDescription
PresetTextureRequiredMsoPresetTextureThe preset texture.

Remarks

The value of the PresetTexturedargument can be one of these MsoPresetTexture constants.

|| |:-----| |msoPresetTextureMixed| |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 = ActivePresentation.Slides(1)

myDocument.Shapes.AddShape(msoShapeCan, 90, 90, 40, 80) _
    .Fill.PresetTextured msoTextureGreenMarble

See also

Concepts

FillFormat Object

© 2018 Microsoft