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
 Zoom / Fit to page

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
mivi71dk Posted - Sep 03 2014 : 22:55:02
Hi

I use a TImageEnVect to see a TIFF File.
I have loaded the TIFF Image, and I would like it to be Fit To page or zoomed to a specific level depending on user preselection.

How do I set these values just after image has been loaded?

Regards
Michael
7   L A T E S T    R E P L I E S    (Newest First)
mivi71dk Posted - Sep 15 2014 : 06:34:41
FitToWidth might do the trick :S

mivi71dk Posted - Sep 15 2014 : 06:30:00
Is there also an easy "Fit to pagewidth" function?
pabloabl Posted - Sep 08 2014 : 16:28:33
Thank you very much.
It worked perfect.

Best regards!.
Pablo.
w2m Posted - Sep 08 2014 : 12:47:10
procedure TForm1.ImageEnView1MouseDown(Sender: TObject; Button: TMouseButton;
  Shift: TShiftState; X, Y: Integer);
{ ImageEnView Mouse Down. }
var
  iZoom: double;
begin
  if Button = mbLeft then
  begin
    iZoom := ImageEnView1.Zoom + 25;
    ImageEnView1.ZoomAt(x, y, iZoom, False);
  end
  else
  begin
    iZoom := ImageEnView1.Zoom - 25;
    ImageEnView1.ZoomAt(x, y, iZoom, False);
  end;
end;


Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
pabloabl Posted - Sep 08 2014 : 07:01:51
Hi, do you know how to center de zoom on the mouse arrow?

Thanks and best regards.
Pablo.
mivi71dk Posted - Sep 04 2014 : 01:19:55
Thanks


I'm still getting my feeling on this new component. Looks very great so far :)

Mivi
xequte Posted - Sep 04 2014 : 00:50:12
Hi

Set it to a specific zoom using:

http://www.imageen.com/help/TImageEnView.Zoom.html


Or make it shrink to window size automatically using AutoShrink:

http://www.imageen.com/help/TImageEnView.AutoShrink.html

Or manually using Fit:

http://www.imageen.com/help/TImageEnView.Fit.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com