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


MetaFile property

Properties Methods Events Overview

Declaration

property MetaFile : HMETAFILE;

Description

Runtime only. This property specifies the handle of the metafile currently loaded into the control. If no metafile is loaded, its value will be 0. No automatic conversion is executed between DIBs/enhanced metafiles and metafiles.

By storing a MetaFile-handle into this property, the TDavinci component becomes owner of this Handle. The 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 DeleteMetaFile.