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
 Ruler and Grid alignment

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
email_toan Posted - Jun 20 2019 : 19:35:52
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;



4   L A T E S T    R E P L I E S    (Newest First)
email_toan Posted - Jun 21 2019 : 14:01:40
Thanks Nigel, I got the email.
xequte Posted - Jun 21 2019 : 00:34:10
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
email_toan Posted - Jun 20 2019 : 21:43:45
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.
xequte Posted - Jun 20 2019 : 21:23:39
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