Home
Features
Demos
Store
Forum
Support
ImageEn Forum
Profile
Join
Active Topics
Forum FAQ
Search
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
How to swirch off AutoFit in DoPreview dialog?
New Topic
Reply to Topic
Author
Topic
graphman
259 Posts
Posted - Sep 09 2016 : 06:40:49
For Original and Result windows
xequte
38616 Posts
Posted - Sep 10 2016 : 00:44:53
Hi
You need to assign the OnPreview event of TImageEnProc, e.g.
ImageEnView1.Proc.OnPreview := MyPreviewHandler;
See the example at:
http://www.imageen.com/help/TImageEnProc.OnPreview.html
And let us know if you need more advice.
Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
graphman
259 Posts
Posted - Sep 12 2016 : 04:30:38
I trying to use
void __fastcall TAbleBatchConv_Form1::ImageEnProc1Preview(TObject *Sender, TForm *PreviewForm)
{
((TfPreviews *)PreviewForm)->ImageEn1->AutoFit = false;
}
//---------------------------------------------------------------------------
But see error
[BCC32 Error] Unit1.cpp(10413): E2451 Undefined symbol 'TfPreviews'
graphman
259 Posts
Posted - Sep 12 2016 : 04:32:38
I need to zoom original image in DoPreview dialog.
It was available in old versions.
graphman
259 Posts
Posted - Sep 12 2016 : 05:02:42
I have added
#include "Previews.hpp"
to fix error
But cannot use zoom in DoPreview dialog yet
xequte
38616 Posts
Posted - Sep 12 2016 : 05:54:06
Do you mean zoom by clicking? Then set ImageEnView1.MouseInteract := [miZoom];
Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
graphman
259 Posts
Posted - Sep 12 2016 : 06:44:52
> Do you mean zoom by clicking?
Yes
> Then set ImageEnView1.MouseInteract := [miZoom];
I tried already. There is no effect.
graphman
259 Posts
Posted - Sep 12 2016 : 07:20:14
I used previous version.
After installing the latest version it works without problem.
Topic
New Topic
Reply to Topic
Jump To:
Select Forum
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page