Bewerken

Delen via


PictureTiling property

Lets you tile a picture in a form or page.

Syntax

object.PictureTiling [= Boolean ]

The PictureTiling property syntax has these parts:

Part Description
object Required. A valid object.
Boolean Optional. Whether a picture is repeated across a background.

Settings

The settings for Boolean are:

Value Description
True The picture is tiled across the background.
False The picture is not tiled across the background (default).

Remarks

If a picture is smaller than the form or page that contains it, you can tile the picture on the form or page.

The tiling pattern depends on the current setting of the PictureAlignment and PictureSizeMode properties.

For example, if PictureAlignment is set to fmPictureAlignmentTopLeft, the tiling pattern starts at the upper left and repeats the picture across the form or page and down the height of the form or page. If PictureSizeMode is set to fmPictureSizeModeClip, the tiling pattern crops the last tile if it doesn't completely fit on the form or page.

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.