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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 MaxZoom, MinZoom?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
PeterPanino Posted - Jul 09 2020 : 17:56:33
Are there any MaxZoom/MinZoom values?
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jul 17 2020 : 00:14:44
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
PeterPanino Posted - Jul 10 2020 : 02:40:45
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?
xequte Posted - Jul 09 2020 : 22:45:48
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