Author |
Topic  |
|
Boban
 
Yugoslavia
41 Posts |
Posted - May 15 2012 : 18:59:35
|
Hi. I have a problem with this code. ------------------------------------------------------------------------------------- procedure TForm1.Button1Click(Sender: TObject); begin ImageEnView1.IEBitmap.Allocate(ImageEnMView1.Width,ImageEnView1.Height); ImageEnMView1.PaintTo(ImageEnView1.IO.Bitmap); ImageEnView1.Update(); end; ------------------------------------------------------------------------------------- Here there should be 12 video frames but not all visible. What should be added to all that is visible? ------------------------------------------------------------------------------------- procedure TForm1.Button2Click(Sender: TObject); begin with ImageEnView1.IO do SaveToFile(ExecuteSaveDialog('', '', false, 1, '')); end; |
|
xequte
    
39106 Posts |
Posted - May 15 2012 : 20:02:41
|
Hi
Your code doesn't take into account that some of the thumbnail area may not be visible (i.e. if there is a scrollbar displayed) .
Try using:
ImageEnView1.IEBitmap.Allocate(ImageEnMView1.ClientWidth + MaximumViewX, ImageEnView1.ClientHeight + MaximumViewY);
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
 |
|
fab
   
1310 Posts |
Posted - May 17 2012 : 08:28:56
|
quote: Is there a general solution to this turns out to be because I had already killed a lot of nerves around this if I am not someone found a solution I'll have to give up on this. If you have any other solution help me.
The solution was already showed you in another topic. You have only to customize it for your application. |
 |
|
fab
   
1310 Posts |
Posted - May 19 2012 : 07:33:17
|
bmpw := ImageEnMView1.CalcGridWidth() * (ImageEnMView1.ThumbWidth + ImageEnMView1.HorizBorder); bmph := ImageEnMView1.CalcGridHeight() * (ImageEnMView1.ThumbHeight + ImageEnMView1.VertBorder); ImageEnView1.Proc.ImageResize(bmpw, bmph);
|
 |
|
Boban
 
Yugoslavia
41 Posts |
Posted - May 19 2012 : 10:07:07
|
Hi Fabrizio
Error Udeclared Identifier: 'CalcGridWidth' Error Udeclared Identifier: 'CalcGridHeight' |
 |
|
fab
   
1310 Posts |
Posted - May 19 2012 : 17:16:43
|
CalcGridWidth and CalcGridHeight exists since ImageEn 4.0.1. |
 |
|
Boban
 
Yugoslavia
41 Posts |
Posted - May 20 2012 : 08:23:17
|
Hi Fabrizio
I use ImageEn 3.1.2. Full Version. Is there another solution to this that is not used (CalcGridWidth, CalcGridHeight). |
 |
|
Boban
 
Yugoslavia
41 Posts |
Posted - May 27 2012 : 05:57:32
|
Where can I find a trial version ImageEn 4.0.1, 4.0.2, 4.1.0 |
 |
|
xequte
    
39106 Posts |
|
|
Topic  |
|