Topic: DBImage - Draw

хочу сделать возможность настройки расположения изображения в DBImage
для этого использую Draw ,  первые два параметра - расположение относительно левого угла, третий само изображение 

 
  Как мне добавить в третий параметр изображение из DBImage? при этом само изображение хранится в БД.

frmQestionPrev.dbImageQuestion.picture.Bitmap.Canvas.Draw(200,200, ?????);

Re: DBImage - Draw

Hello sibprogsistem

Could this link be a clue for you (see last post from Jimmbill) ?

JB

Re: DBImage - Draw

jean.brezhonek wrote:

Hello sibprogsistem

Could this link be a clue for you (see last post from Jimmbill) ?

JB

не нашел такого пользователя  Jimmbill

Re: DBImage - Draw

Hello sibprogsistem

Sorry, I've fogotten to gice the link.
Here it is :

https://forum.lazarus.freepascal.org/in … ic=29498.0

JB

Re: DBImage - Draw

так изображение просто исчезает...
что я делаю не так?

frmQuestion.dbImageQuestion.picture.Bitmap.Canvas.Draw(0,0, frmQuestion.dbImageQuestion.picture.Bitmap) ;

Re: DBImage - Draw

Hello sibprogsistem

And if you declare your png in a variable (or in array if many png) and you pass this variable as third parameter ?

JB

Re: DBImage - Draw

jean.brezhonek wrote:

Hello sibprogsistem

And if you declare your png in a variable (or in array if many png) and you pass this variable as third parameter ?

JB

the same, the image just disappears

то же самое, изображение просто исчезает