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
 How to Zoom to Width of Image?

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
yogiyang Posted - Oct 08 2021 : 03:10:38
Hello,

I want to zoom to the width of image so that the image is visible in width.

Is there any ready to use settings for this?

TIA

Yogi Yang
2   L A T E S T    R E P L I E S    (Newest First)
yogiyang Posted - Oct 09 2021 : 01:40:46
Hello Nigel,

Thanks for the sample code snippet.

It has saved me a lot of headache.



Yogi Yang
xequte Posted - Oct 09 2021 : 01:24:13
Hi Yogi

Yes, as follows:

// Zoom to fit width
ImageEnView.GetIdealZoom( ZoomX, ZoomY );
ImageEnView.Zoom := ZoomX;


https://www.imageen.com/help/TImageEnView.GetIdealZoom.html

Nigel
Xequte Software
www.imageen.com