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 14-05-2009, 15:10
julvr
Guest
 
Posts: n/a
Default Resizing rectangle without rescaling

I work often with rounded rectangles in my diagrams. I find, however, when I resize a rectangle, the corners become stretched, and the scalable outline becomes thicker/thinner on the bottom than on the sides...

So, I wanted to create a simple VBA macro that would fix my rounded corners -- essentially unscale the rectangle, and resize it properly without scaling. Theoretically, if I did that, the corners would return to their proper rounded radius.

The problem is, I can't seem to do it. All of the sizing options for shapes/rectangles seem to apply a scale. Is there any way to do this without creating a new rectangle?


Thanks

John
Reply With Quote
  #2  
Old 14-05-2009, 22:47
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,782
Blog Entries: 11
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default Rectangle Fixer

Several macros for this have been written. Here is one for you to look at:

Alex's Rectangle Fixer

-Shelby
Reply With Quote
  #3  
Old 15-05-2009, 08:22
julvr
Guest
 
Posts: n/a
Default

Thanks for the reply. I didn't want to create a duplicate, as I often have connectors or text associated with the rectangle, and they are not connected to the duplicate. I suppose I can try to search for these and reassociate them in my macro.

John
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
4mm rectangle around the object fungel CorelDRAW/Corel DESIGNER VBA 11 06-03-2009 15:47
Selecting shapes in rectangle area lukswa CorelDRAW/Corel DESIGNER VBA 2 07-10-2008 02:13
Create Rectangle-Shape with positioning WernerHo CorelDRAW/Corel DESIGNER VBA 2 06-02-2008 03:40
Resizing lines KennyMike General 2 22-01-2007 10:36
Resizing? forum8888 General 1 13-09-2006 18:26


All times are GMT -5. The time now is 00:08.


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