TextureType Property

Microsoft Word Visual Basic

MsoTextureType can be one of these MsoTextureType constants.
msoTexturePreset
msoTextureTypeMixed
msoTextureUserDefined

expression.TextureType

expression    Required. An expression that returns one of the objects in the Applies To list.

Remarks

This property is read-only. Use the PresetTextured, UserPicture, or UserTextured method to set the texture type for the fill.

Example

This example changes the fill for all shapes in the active document with a custom textured fill to a canvas fill.

For Each s In ActiveDocument.Shapes
    With s.Fill
        If .TextureType = msoTextureUserDefined Then
            .PresetTextured msoTextureCanvas
        End If
    End With
Next