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
 MaxZoom, MinZoom?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

860 Posts

Posted - Jul 09 2020 :  17:56:33  Show Profile  Reply
Are there any MaxZoom/MinZoom values?

xequte

38182 Posts

Posted - Jul 09 2020 :  22:45:48  Show Profile  Reply
Hi Peter

Please see the examples for:

https://www.imageen.com/help/TImageEnView.OnZoomIn.html
https://www.imageen.com/help/TImageEnView.OnZoomOut.html

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

PeterPanino

860 Posts

Posted - Jul 10 2020 :  02:40:45  Show Profile  Reply
I meant whether there is a built-in Zoom VALUE, not how to interactively limit the zooming to a custom value.

However, when zooming with the Zoom buttons on the TImageEnViewToolbar:



... there seems to be a built-in minimum zoom to 1%.

However, even when I limit the Zoom to a minimum of 5%:

procedure TformMain.imgMainZoomOut(Sender: TObject; var NewZoom: Double);
begin
  if NewZoom < 5 then
    NewZoom := 5;
end;


... the ZoomOut button on the Toolbar does not respect this custom limit of 5%:



Also, when setting a maximum Zoom value, the ZoomIn Toolbar button does not respect this:

procedure TformMain.imgMainZoomIn(Sender: TObject; var NewZoom: Double);
begin
  if NewZoom > 3000 then
    NewZoom := 3000;
end;


Is this a bug?
Go to Top of Page

xequte

38182 Posts

Posted - Jul 17 2020 :  00:14:44  Show Profile  Reply
I cannot reproduce that. Are you using 9.1.1? Can you reproduce it in our ImageEnView toolbars demo?

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