OCXBitmap property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

OLE_HANDLE OCXBitmap

Delphi Syntax

OCXBitmap: OLE_HANDLE

Overview

Refer to Bitmaps and Bitmap Lists.

Remarks

This property is used to copy images between the VCL Main Control and the LEADTOOLS ActiveX controls.

When you read this property, if an image is allocated in the Main Control, this property is filled with a handle to that image. You can use this to assign an image from the VCL Main Control to a LEADTOOLS ActiveX control, such as the Dicom or OCR ActiveX controls.

When you write to this property, if an image exists in the VCL Main Control, it is freed, and then replaced with the new image. You can use this to assign an image to the VCL Main Control from a LEADTOOLS ActiveX control.

Note, when you read this property a copy of the image is made. In order to free that copy, you can assign 0 to this property.

Note:

This property should not be used to assign TO the LEAD Isis or LEAD Dlg ActiveX controls, but can be used to assign FROM those controls.

See Also

Topics:

Raster Images: Copying Images