i am abstract class line class
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Maen BadwanPosted Sep 8, 2016, 10:46 AM
I am attaching the modified project for your reference.
Also, I have created a new class named PointsForRect that can hold four points. You can use these points to pass the required values to the this.CreateGraphics().DrawRectangle method to draw rectangles.
However, if you are looking for creating and drawing lines, rectangles, and different shapes on images, you can try more advanced options by trying the Annotations features from LEADTOOLS development SDK. You can find more details in this forum post I made:
https://support.leadtools.com/SupportPortal/CS/forums/44616/ShowPost.aspx
Disclaimer: I work for LEAD.