OberonPlace.com Forums  

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

Thread Tools Search this Thread Display Modes
Old 11-12-2015, 12:33
VyperOne VyperOne is offline
Join Date: Feb 2003
Posts: 38
Default CornerTpe Function

From a macro I am trying tot set the corner type of a shape that has 4 nodes
When I set the end caps to round via the macro I get the result seen in image #1.

What I want is what is in image #2.

If I use Corels Outline Pen dialog I can set the corner to round and it results in image #2. I just don't see any properties in the structure to set the corner type.

Image #3 shows the direction of the lines, so the top of the T, left side is a sharp corner.

Is there a function to set the corners of shapes like this? I cannot seem to locate one.

Reply With Quote
Old 11-12-2015, 12:56
VyperOne VyperOne is offline
Join Date: Feb 2003
Posts: 38

Never mind, I figured this out. You set the shape.outline.LineJoin to cdrOutlineLineJoin.cdrOutlineRoundLineJoin to accomplish what I needed.

It only makes sense that something called "Corners" in the dialog box would be called "linejoin" in the code...
Reply With Quote

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
X5 - executing Add-In function from VBA Tomasz CorelDRAW/Corel DESIGNER VBA 3 02-11-2010 10:16
Function gallery is now online Alex Oberon Function Plotter 2 05-06-2009 23:57
Securidesign + Function Plotter RicardoLS SecuriDesign 0 11-11-2007 07:58
Function names Lev Oberon Function Plotter 1 29-08-2003 11:04
How can I get data from function? Elie CorelDRAW/Corel DESIGNER VBA 3 15-05-2003 05:08

All times are GMT -5. The time now is 07:04.

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