Returns an MsoTextureType constant indicating the texture type for the specified fill. Read-only.
MsoTextureType can be one of these MsoTextureType constants. |
msoTexturePreset The fill uses a preset texture type. |
msoTextureTypeMixed Indicates a combination of texture types for the specified shape range. |
msoTextureUserDefined The fill uses a user-defined texture type. |
expression.TextureType
expression Required. An expression that returns one of the objects in the Applies To list.
This property is read-only. Use the PresetTextured or UserTextured method to set the texture type for the fill.
This example applies a canvas texture to the fill for all shapes on the first page of the active publication that currently have fills with a user-defined texture.
Dim shpLoop As Shape For Each shpLoop In ActiveDocument.Pages(1).Shapes With shpLoop.Fill If .TextureType = msoTextureUserDefined Then .PresetTextured _ PresetTexture:=msoTextureCanvas End If End With Next shpLoop