ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Problem with ImageEnMView and ImageEnView
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Boban

Yugoslavia
41 Posts

Posted - May 15 2012 :  18:59:35  Show Profile  Reply
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  Show Profile  Reply
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
Go to Top of Page

fab

1310 Posts

Posted - May 17 2012 :  08:28:56  Show Profile  Reply
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.
Go to Top of Page

fab

1310 Posts

Posted - May 19 2012 :  07:33:17  Show Profile  Reply
bmpw := ImageEnMView1.CalcGridWidth() * (ImageEnMView1.ThumbWidth + ImageEnMView1.HorizBorder);
bmph := ImageEnMView1.CalcGridHeight() * (ImageEnMView1.ThumbHeight + ImageEnMView1.VertBorder);
ImageEnView1.Proc.ImageResize(bmpw, bmph);
Go to Top of Page

Boban

Yugoslavia
41 Posts

Posted - May 19 2012 :  10:07:07  Show Profile  Reply
Hi Fabrizio

Error Udeclared Identifier: 'CalcGridWidth'
Error Udeclared Identifier: 'CalcGridHeight'
Go to Top of Page

fab

1310 Posts

Posted - May 19 2012 :  17:16:43  Show Profile  Reply
CalcGridWidth and CalcGridHeight exists since ImageEn 4.0.1.
Go to Top of Page

Boban

Yugoslavia
41 Posts

Posted - May 20 2012 :  08:23:17  Show Profile  Reply
Hi Fabrizio

I use ImageEn 3.1.2. Full Version.
Is there another solution to this that is not used (CalcGridWidth, CalcGridHeight).
Go to Top of Page

Boban

Yugoslavia
41 Posts

Posted - May 27 2012 :  05:57:32  Show Profile  Reply
Where can I find a trial version ImageEn 4.0.1, 4.0.2, 4.1.0
Go to Top of Page

xequte

39106 Posts

Posted - May 28 2012 :  02:31:56  Show Profile  Reply
Hi

I'm afraid we do not offer trial versions. You can view a list of all the new features at:

http://www.imageen.com/help/What%27s%20new.html


As well as the updated help file at:

www.imageen.com/help/


Finally, we offer a full 60 day money-back guarantee if you upgrade and find that it does not meet your requirements.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: