Partager via


FillFormat.TextureType Property (PowerPoint)

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

FillFormat Object Members