Main Menu

Ruler

Started by weiquanho, November 26, 2015, 04:28:54 AM

Previous topic - Next topic

weiquanho

Thank you so so much for developing such a great tool!
It will be my very great guideline!

I wish add horizontal ruler and vertical ruler which it will adjust according to the zoom ratio and the vertical & horizontal scroll.

I'm still scratching my head... haha



Have a good day and Thank You!
:)

Richard Moss

Hello,

Welcome to the forums, and I'm glad you're enjoying the control. Drawing a ruler on top of the control should be possible, I'll see if I can find time to do a concept demo. However, I'm somewhat busy right now so it may take a little while before I have time to look at this.

Regards;
Richard Moss
Read "Before You Post" before posting (https://forums.cyotek.com/cyotek-webcopy/before-you-post/). Do not send me private messages. Do not expect instant replies.

All responses are hand crafted. No AI involved. Possibly no I either.

weiquanho

Thank you so much for spending the time to reply me!  :)

I've been looking around and found this : http://www.codeproject.com/Articles/4369/Ruler-Control
and I've been stuck with this.. Haven't found a way to put it in yet...


Have a great weekend ahead!

Richard Moss

I took a look at the Ruler control you mentioned, and knocked up a brief concept demo. It's by no means perfect - that ruler control is nice, but does have some bugs with text alignment, and could do with some improvements.

I've attached the concept demo to this post - I don't imagine I'm going to have any time to refine it any time soon but hopefully this will give you a starting point to adapt for your own needs.




Read "Before You Post" before posting (https://forums.cyotek.com/cyotek-webcopy/before-you-post/). Do not send me private messages. Do not expect instant replies.

All responses are hand crafted. No AI involved. Possibly no I either.

weiquanho

Wow!
A million thanks for the guide!
It is really helpful!!  :D


Warm Regards,
Wei Quan

Richard Moss

Although it's only a concept and needs more work, I'm glad it was useful and you're welcome. Good luck with your project :)
Read "Before You Post" before posting (https://forums.cyotek.com/cyotek-webcopy/before-you-post/). Do not send me private messages. Do not expect instant replies.

All responses are hand crafted. No AI involved. Possibly no I either.