| Herd Software Development
DaVinci Graphics Library
DaVinci Documentation Home Search Order

DIB property

Properties Methods Events Overview


property DIB : HDIB;


Runtime only. This property specifies the handle of a Device Independent Bitmap (DIB) which the component will display. If no DIB is loaded, its value is 0. No automatic conversion of metafiles or enhanced metafiles into DIBs is executed.

By storing a DIB-handle into this property, the TDavinci component becomes owner of this Handle. The DIB handle is freed automatically when the TDavinci component becomes freed by the application, when a new image (DIB,Metafile or Enhanced Metafile) is being transferred or on application exit. The application must not release the handle by calling GlobalFree..