Table of contents
TOC
Collapse the table of content
Expand the table of content

FillFormat.UserTextured Method (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Fills the specified shape with small tiles of an image.

Syntax

expression. UserTextured( TextureFile )

expression A variable that represents an FillFormat object.

Remarks

If you want to fill the shape with one large image, use the UserPicture method.

Example

This example adds two rectangles to myDocument. The rectangle on the left is filled with one large image of the picture in Tiles.bmp; the rectangle on the right is filled with many small tiles of the picture in Tiles.bmp

Set myDocument = ActivePresentation.Slides(1)

With myDocument.Shapes

    .AddShape(msoShapeRectangle, 0, 0, 200, 100).Fill _
        .UserPicture "c:\windows\tiles.bmp"

    .AddShape(msoShapeRectangle, 300, 0, 200, 100).Fill _
        .UserTextured "c:\windows\tiles.bmp"

End With

See also

Concepts

FillFormat Object

© 2018 Microsoft