ShapeBackgroundBitmap property (LEADDlgEffect Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

TBitmapHandle ShapeBackgroundBitmap

Delphi Syntax

ShapeBackgroundBitmap: TBitmapHandle

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets a handle to a LEAD bitmap that references the background bitmap in the Shape dialog box.

Fill this property with a valid bitmap to be used for the background of the previewed shape when DLG_SHAPE_SHOW_PREVIEW is set in the DlgFlags property.

This property is automatically filled if DLG_SHAPE_BROWSEIMAGE is set in the DlgFlags property and the user picks an image to use as the ShapeBackgroundBitmap.

To free the memory used by this bitmap, assign a value of 0.

If you set this property from a Main Control, a copy of the image will be made.

See Also

Elements:

ShowGetShapeDlg method, DlgFlags property.

Topics:

Imaging Common Dialogs: Properties, Methods, and Events