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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
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
 Ruler and Grid alignment
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

email_toan

USA
23 Posts

Posted - Jun 20 2019 :  19:35:52  Show Profile  Reply
How do I get the ruler and grid to stay aligned? The ruler changes when you zoom in/out, but the grid stay constant. I looked through the help, but failed to find guidance.

In Photoshop I noticed the ruler re-positions itself to maintain alignment with the grid whenever you zoom. Do I have to write code to mimic this? If so, which event would be the best to place such code?

Here's my code for setting up both objects:
ImageEnView1.RulerParams.DisplayNegativeValues:=ienvDisabled;
ImageEnView1.RulerParams.ShowBorder:=False;
ImageEnView1.RulerParams.Frequency:=10;
ImageEnView1.RulerParams.GripHeight := 0;

IEGlobalSettings().GridPen.Color := clSilver;
IEGlobalSettings().GridPen.Style := psDot;
IEGlobalSettings().GridPen.Mode  := pmCopy;
IEGlobalSettings().GuidelineCount := 10;
ImageEnView1.DisplayGridKind := iedgGuideLines;



xequte

38608 Posts

Posted - Jun 20 2019 :  21:23:39  Show Profile  Reply
Hi

In v8.6.1 you can use:

ImageEnView1.DisplayGridKind := iedgRulerGuides;


Email me if you would like a pre-release.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

email_toan

USA
23 Posts

Posted - Jun 20 2019 :  21:43:45  Show Profile  Reply
I just tried to email you through this portal, but it said I don't have enough posts to allow it so I emailed you through my work email instead. I used the address that normally sends out update release. I hope it gets to you.

Thanks Toan.
Go to Top of Page

xequte

38608 Posts

Posted - Jun 21 2019 :  00:34:10  Show Profile  Reply
Hi Toan

Yes, the system blocks emails for users with only a few posts (though I still receive a copy).

I've emailed you the update.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

email_toan

USA
23 Posts

Posted - Jun 21 2019 :  14:01:40  Show Profile  Reply
Thanks Nigel, I got the email.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: