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
 RulerBox

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
w2m Posted - Aug 26 2011 : 05:34:12
Can the RulerBox be used if ImageEnView1.Center is true?
How do you adjust the ruler position of 0 to match the 0 position of ImageENView?

William Miller
2   L A T E S T    R E P L I E S    (Newest First)
fab Posted - Aug 26 2011 : 23:58:36
As you suggested new minor release will have TRulerBox.OffsetX and TRulerBox.OffsetY so you will be able to set:

HorizRuler.OffsetX := ImageEnView1.OffsetX;
VertRuler.OffsetY := ImageEnView1.OffsetY;

fab Posted - Aug 26 2011 : 08:53:34
Hi,
you should align the ruler to ImageEnView.OffsetX and OffsetY.
For example, the horizontal ruler Left position should be:

HorizRuler.Left := ImageEnView1.OffsetX;

While the vertical rulter Top position should be:

VerticalRuler.Top := ImageEnView1.OffsetY;