![]() |
#1
|
|||
|
|||
![]()
Hi,
Is there any Visual Basic code so I can select all the text in CorelDRAW 12 and apply the Default Artistic Text style to it? I then want to select all text and do Revert to Style. ![]() Many thanks, ![]() |
#2
|
||||
|
||||
![]()
Ok, here is how you do it:
Code:
Sub ResetStyles() Dim sText As Shape For Each sText In ActivePage.SelectableShapes.FindShapes(Type:=cdrTextShape) If sText.Text.Type = cdrArtisticText Or sText.Text.Type = cdrArtisticFittedText Then sText.ApplyStyle "CorelDefaultID_5006" ' Default Artistic Text style sText.CreateSelection CorelScript.RevertToStyle End If Next sText End Sub ![]() |
#3
|
|||
|
|||
![]()
Thanks Alex
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Striping a word down to the first letter only | knowbodynow | CorelDRAW/Corel DESIGNER VBA | 9 | 19-04-2007 15:14 |
Select specified text, change font size? | fiddler2b | CorelDRAW/Corel DESIGNER VBA | 3 | 23-04-2006 08:11 |
format text dialog box implement | graphicdesigner | CorelDRAW/Corel DESIGNER VBA | 5 | 22-12-2004 13:37 |
Paragraph text like Ingredient List | d-signer | CorelDRAW/Corel DESIGNER VBA | 2 | 22-01-2004 21:59 |