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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.