|
TCustomRichView.BackgroundBitmap |
Top Previous Next |
|
Background image shown below the document property BackgroundBitmap: TBitmap; Assignment to this property copies the image, so you still need to free the source image yourself. Example 1 (assigning image) bmp := TBitmap.Create; bmp.LoadFromFile('c:\image.bmp'); MyRichView.BackgroundBitmap := bmp; bmp.Free; Example 2 (doing the same work) MyRichView.BackgroundBitmap.LoadFromFile('c:\image.bmp'); Example 3 (clearing the image) MyRichView.BackgroundBitmap := nil; See also properties: |