![]() |
|
#1
|
|||
|
|||
|
CorelDraw12 has align to baseline and straightentext. How would I write VBA to do this for every piece of artistic text on a page? I tried to record a macro but found that it said the function was not supported. Is it possible with VBA?
Thanks, Chris (Hunt) |
|
#2
|
||||
|
||||
|
Quote:
Code:
sendKeys "%ts",true ' wait for command completion Another fast way is to use .VertShift property of activeShape.Story: Code:
activeShape.Story.vertShift=0 Last edited by wOxxOm; 03-03-2006 at 07:42. |
|
#3
|
|||
|
|||
|
That's great! I assigned alt-b for baseline and alt-s for straighten text and it worked. Now I just need to find out how to add txg to each piece of text before centring it.
Many thanks, Chris |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Text selection and sizing | ddonnahoe | CorelDRAW/Corel DESIGNER VBA | 5 | 17-05-2005 13:19 |
| Text ENCODE | Craig Tucker | CorelDRAW/Corel DESIGNER VBA | 10 | 26-01-2005 13:59 |
| format text dialog box implement | graphicdesigner | CorelDRAW/Corel DESIGNER VBA | 5 | 22-12-2004 13:37 |
| Getting the center X on a text shape | Rick Randall | CorelDRAW/Corel DESIGNER VBA | 4 | 03-08-2004 18:27 |
| Reset text after text compression. | Bellekom | CorelDRAW/Corel DESIGNER VBA | 2 | 05-05-2004 06:14 |