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
 TImageEnVect - Zoom In or Zoom Out not working

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
LukaL Posted - Jan 11 2014 : 14:35:49
The Zoom functionality is not working - with explicit call to ..ZoomIn / ZoomOut or with mouse scroll.

The control has all AutoFit, AutoShrink, AutoStretch set to FALSE.
How could that be ? What am I missing.

Here is the code ( nothing else is set in code - this is it )

object iePriponkaView: TImageEnVect
Left = 319
Top = 65
Width = 745
Height = 211
ParentCtl3D = False
BorderStyle = bsNone
MouseInteract = [miZoom, miScroll]
DelayZoomFilter = True
EnableInteractionHints = True
Align = alClient
TabOrder = 2
BitmapResampleFilter = rfBilinear
end

I'm using ImageEn version 4.1.4.

Thank you for your help.

5   L A T E S T    R E P L I E S    (Newest First)
LukaL Posted - Jan 12 2014 : 02:32:39
Hmmm .. I did not mention this before - because I didn't think it matters... BUT This form is inherited on another form (and not a single functionality is changed regarding imageEn).

SO basicaly it is like this.

1. If I create a new form - Inherited item ; Imageen ZOOM is not working.
2. If I drop a new component on this Inherited form and RE-Code all the missing functionality the ZOOM starts working again - Strange I know.

Maybe it is just a coincidence ... dunno.


xequte Posted - Jan 12 2014 : 02:19:15
Hi

Also please check that AutoShrink, AutoStretch and AutoFit are all False.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
w2m Posted - Jan 11 2014 : 14:58:09
There must be something wrong on your end. Zoom In and Zoom Out works perfectly fine here, and in another app you are running, so it is not ImageEn causing the problem.

I'd try to recreate the form again by dropping components on the form.. not by copy and paste.

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
LukaL Posted - Jan 11 2014 : 14:42:17
The image is loaded to the vectorView via imageEnMView like this :

iePriponkaMView.CopyToIEBitmap( idx, iePriponkaView.IEBitmap );
iePriponkaView.RemoveAllObjects;
iePriponkaMView.MIO.Params[ idx ].ImagingAnnot.CopyToTImageEnVect( iePriponkaView );
iePriponkaView.Proc.PasteFromClipboard;


And on the ZoomIn button click event is this code
iePriponkaView.ZoomIn;

Nothing else I can find.


I have ImageEnVect on a nother form (same logic as on this non working form) and it is working OK there .. I've even copy-pasted the component -- but the result was the same - non working ImageEnVectView ( Zoom ).
w2m Posted - Jan 11 2014 : 14:39:37
Show us the code you are using.

William Miller