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

FillFormat.TextureType Property (PowerPoint)

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

Returns the texture type for the specified fill. Read-only.

Syntax

expression. TextureType

expression A variable that represents a FillFormat object.

Return Value

MsoTextureType

Remarks

Use the PresetTextured or UserTextured method to set the texture type for the fill.

The value of the TextureType property can be one of these MsoTextureType constants.

|| |:-----| |msoTexturePreset| |msoTextureTypeMixed| |msoTextureUserDefined|

Example

This example changes the fill to canvas for all shapes on myDocument that have a custom textured fill.

Set myDocument = ActivePresentation.Slides(1)

For Each s In myDocument.Shapes

    With s.Fill

        If .TextureType = msoTextureUserDefined Then

            .PresetTextured msoTextureCanvas

        End If

    End With

Next

See also

Concepts

FillFormat Object

© 2018 Microsoft