BackgroundPictureDrawMode Property
Sets/returns the background picture associated with a style.
style.BackgroundPictureDrawMode= value
Read/Write at run time and design time.
Property applies to Style object.
Values
Design Time |
Run Time |
0 - Center (default) |
dblBPCenter |
1 - Tile |
dblBPTile |
2 - Stretch |
dblBPStretch |
This property determines how a style's background bitmap is displayed when the style is applied to a data cell, header, footer, or caption bar.
If set to 0 - Center (the default), the background bitmap is centered within the object to which the style is applied.
If set to 1 - Tile, the background bitmap is drawn repeatedly, starting at the upper left corner of the object, until the entire area is filled.
If set to 2 - Stretch, the bitmap displayed is resized to fit the area occupied by the object. The original bitmap is not altered.
Note: Use the BackgroundPicture property to specify a background bitmap for a style.
See Also