T O P I C R E V I E W |
duraganyolcu |
Posted - Dec 29 2011 : 10:46:57 hi, i am a new user of imageen. i have some troubles when using it.
i've an imageenvect component and i want to show a bitmap on it but there is no change on form when i tried.
ImageEnVect1: TImageEnVect; ...
xbitmap:=TBitmap.create; xbitmap.width:=512; xbitmap.height:=384; xbitmap.LoadFromFile('C:\image.bmp'); ImageEnVect1.IO.CreateFromBitmap(xbitmap);
i cannot use loadfromfile() function on imageenvect, because xbitmap is a result of another function i only have a bitmap as result, i m just trying not to use load from file. i want to assign a bitmap to imageenvect.
ImageEnVect1.IO.AttachedBitmap or ImageEnVect1.IO.Bitmap := didn't work. |
2 L A T E S T R E P L I E S (Newest First) |
duraganyolcu |
Posted - Dec 29 2011 : 11:26:45 thanks fabrizio. it works. |
fab |
Posted - Dec 29 2011 : 11:16:16 Try:
ImageEnVect1.Assign( xbitmap ); |
|
|