TextureType Property
Applies To
FillFormat object.
Description
Returns the texture type for the specified fill. Can be one of the following MsoTextureType constants: msoTexturePreset, msoTextureTypeMixed, or msoTextureUserDefined. Read-only Long.
This property is read-only. Use the PresetTextured or UserTextured method to set the texture type for the fill.
See Also
TextureName property.
Example
This example changes the fill for all shapes on myDocument with a custom textured fill to a canvas 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