FillFormat.UserPicture Method
PowerPoint Developer Reference |
Fills the specified shape with one large image.
Syntax
expression.UserPicture(PictureFile)
expression A variable that represents an FillFormat object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
PictureFile | Required | String | The name of the picture file. |
Remarks
If you want to fill the shape with small tiles of an image, use the UserTextured 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
Visual Basic for Applications |
---|
|
See Also