Skip to main content

TdxBackground.Mode Property

Specifies the manner in which a report background is drawn.

Declaration

property Mode: TdxBackgroundMode read; write; default bmNone;

Property Value

Type Default
TdxBackgroundMode bmNone

Remarks

Use the Mode property to determine which properties are used when the TdxComponentPrinter component draws a report background.

Value

Description

bmNone

The report background is clear (white), no color, brush, texture or picture is used for fill.

bmBrush

BkColor and Brush properties are used to draw the report background. If Brush is hatched, BkColor is used.

bmBrushBitmap

Uses a picture, specified by the Picture property, to draw the report background. This picture is tiled on report pages.

Note

Windows® 95 only supports 8x8 pictures as a brush, so if your picture is larger, an 8x8 section will be used to draw the report background. Use the bmPicture mode and set the PictureMode property to ppmTile to tile large pictures on report pages. Windows® 98 and NT allow you to use pictures of any size as a brush. Both bmBrushBitmap and bmPicture, with the PictureMode property set to ppmTile, generate the same results for Windows 98 and NT.

To create a more compact print preview file and accelerate drawing, use bmBrushBitmap instead of bmPicture with PictureMode equal to ppmTile, wherever possible.

bmPicture

Uses a picture (the Picture property) to draw the report background. The PictureMode property determines how to draw the picture.

The default value is bmNone.

See Also