TIvorySurface::BackgroundBitmap

Holds a pointer to the background bitmap.

__property TIvoryBitmap* BackgroundBitmap;

Description

Use BackgroundBitmap to assign a background bitmap to the surface. The change of this property will automatically invalidate the surface. The new background doesn't take effect automatically; you must call Paint to repaint the surface with the new background. BackgroundBitmap is a pointer to a TIvoryBitmap component, and it only has effect if DrawBackground is set to true. Otherwise, BackgroundBitmap is not used. The default value for BackgroundBitmap is NULL. The BackgroundDrawStyle property determines the way Ivory Draw paints the background bitmap.

Notes

You may specify either BackgroundBitmap or BackgroundSurface, but you are not allowed to specify both of them. One of them is automatically set to zero.

Back to TIvorySurface