PictureTiling Property

Applies To

Form, Image control, Report.

Description

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

Description

Visual Basic

Yes

The picture is tiled.

True (–1)

No

(Default) The picture isn't tiled.

False (0)


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.

See Also

Picture property, PictureAlignment property, PictureData property, PicturePages property, PictureSizeMode property, PictureType property.