PictureTiling Property

PictureTiling Property

See Also                  Applies To

You can use the PictureTiling property to specify whether a background picture is tiled across the entire image control, Form window, form, or page of a report.

Setting

The PictureTiling property uses the following settings.

Setting Visual Basic Description
Yes True (–1) The picture is tiled.
No False (0) (Default) The picture isn't tiled.

You can set the PictureTiling property by using the object's property sheet, a macro, or Visual Basic.

You can also set the default for this property by using a control's default control style or the DefaultControl method in Visual Basic.

Remarks

You can create interesting effects by placing a picture on a form or report and setting the PictureTiling property to Yes. The alignment of the tiled images is affected by the PictureAlignment property setting. For example, if the PictureAlignment property is set to Top Left, tiling begins at the top left of the image control, Form window, or page of a report.

Note   If the PictureAlignment property is set to Form Center and the PictureTiling property is set to Yes, the background picture of a form will be tiled across the form, not across the Form window.