简体   繁体   中英

How to add a ruler next to a picturebox?

I am trying to add a ruler to both x and y axes of a picturebox as in the example shown below. Is there a way for me to design a windows form application? I am lost and unfortunately I don't have any code to show you.

http://www.codeproject.com/KB/splitter/rulers/rulers.jpg

A guy created a custom control for a grid with with ruler. Here is his control on the codeproject: http://www.codeproject.com/Articles/4369/Ruler-Control

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM