Skip to main content

TdxBackground.PictureMode Property

Defines the manner in which a picture, specified by the Picture property, is drawn on report pages.

Declaration

property PictureMode: TdxPicturePaintMode read; write; default ppmCenter;

Property Value

Type Default
TdxPicturePaintMode ppmCenter

Remarks

Background picture can be drawn using one of the following mechanisms:

Value Description
ppmCenter Picture is centered within a report page.
ppmStretch Picture is stretched to fit the entire contents of the report page.
ppmTile Picture is tiled on report pages. Since, Windows 95™ only allows 8x8 pictures as a background, setting this value allows a user to tile pictures of any size using this operating system. Windows 98™ and Windows NT™ have no such limitation. Whenever possible, use the bmBrushBitmap mode instead, as this will reduce the size of the preview file and provides quicker drawing.

The default value is ppmCenter.

Note

The PictureMode property is effective only when the Mode property is equal to bmPicture.

See Also