Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Saturday, February 14, 2009 4:10:06 AM(UTC)

makumar  
makumar

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
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Sunday, February 15, 2009 5:02:48 AM(UTC)

Adam Boulad  
Guest

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)

makumar  
makumar

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)

Adam Boulad  
Guest

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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.192 seconds.