This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Saturday, February 14, 2009 4:10:06 AM(UTC)
Groups: Registered
Posts: 23
Hi,
I am using Document Leadtools 14.5 & Delhi interface. It provides
tool to draw curve annotation object. In my application, I want to draw
an arc (part of a circle). I didn't find any way to draw an arc. Can
anybody help me.
Using canvas, I can draw an arc, but it doesn't have annotation properties.
Please help me.
Thanx & Regards,
Manoj Kumar
#2
Posted
:
Sunday, February 15, 2009 5:02:48 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Manoj,
Did you try to use the 'Curve' Annotation object? I know it is not an exact circle, but it could be close to what you want.
If this is not what you want, I'm afraid you need to create your own custom annotation object. For more information, check the help topic 'Annotations (Document/Medical only): Creating Custom Annotations' in the VCL main help file.
#3
Posted
:
Monday, February 16, 2009 2:00:28 AM(UTC)
Groups: Registered
Posts: 23
Hi,
Thanx for the reply.
I have studied the help topic 'Annotations
(Document/Medical only): Creating Custom Annotations' in the VCL main
help file. But I didn't understand how it can help me to create an ARC.
As per my understanding, it says that to modify the exsting object's
handler. How to create a new object?
Please suggest me some algorithm to create a ARC object. What I want is draw an ARC object using three points.
Thanx & Regards,
Manoj Kumar
#4
Posted
:
Tuesday, February 17, 2009 6:54:24 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Manoj,
Since we don't have an object that represents part of a circle, you will have to implement your own. One way is to define three handlers for your object, then calculate a group of points that constitute an arc and create a polyline annotation object that passes through these points.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.