OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 17-11-2005, 10:45
ddonnahoe's Avatar
ddonnahoe ddonnahoe is offline
Senior Member
 
Join Date: Jan 2004
Location: Louisville, KY
Posts: 552
Send a message via ICQ to ddonnahoe Send a message via AIM to ddonnahoe Send a message via MSN to ddonnahoe Send a message via Yahoo to ddonnahoe
Default Curve length

Is there any way to determine the length of the curve pictured below?

I already know what the radius of the circle was to create it. I just didn't know if there was a formula that would calculate the length of the curve.
Attached Images
 
__________________
Sean
Waiting for a ride in the T.A.R.D.I.S.
Reply With Quote
  #2  
Old 18-11-2005, 09:34
Lev
Guest
 
Posts: n/a
Default

Use Curve.Length or Segment.Length command
Only a lazy person didn't wrote a macro/script calculating curve length using this or CorelScript.Getcurve length command. I've seen about a dozen realisations of it
Reply With Quote
  #3  
Old 18-11-2005, 10:00
ddonnahoe's Avatar
ddonnahoe ddonnahoe is offline
Senior Member
 
Join Date: Jan 2004
Location: Louisville, KY
Posts: 552
Send a message via ICQ to ddonnahoe Send a message via AIM to ddonnahoe Send a message via MSN to ddonnahoe Send a message via Yahoo to ddonnahoe
Default

will this give me the actual length and not the X & Y dimensions?
__________________
Sean
Waiting for a ride in the T.A.R.D.I.S.
Reply With Quote
  #4  
Old 18-11-2005, 13:13
bbolte
Guest
 
Posts: n/a
Default

it's supposed to be the actual length of the segment - not point to point.
Reply With Quote
  #5  
Old 18-11-2005, 17:01
petig
Guest
 
Posts: n/a
Default

... and also read the Document.CurvePrecision in help.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Points on curve Pickuptrucker CorelDRAW/Corel DESIGNER VBA 3 06-11-2005 21:25
Bending shapes to match a curve jemmyell CorelDRAW/Corel DESIGNER VBA 0 01-11-2005 23:54
Tone Curve in PP12 Michael Cervantes Corel Photo-Paint VBA 2 06-04-2004 13:00
Calculate total length of line or path pmills New product ideas 2 08-12-2003 04:52
New user - curve default? - dxf conversion? Anonymous CurveWorks 2 16-05-2003 10:23


All times are GMT -5. The time now is 20:18.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com