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 28-01-2019, 11:51
gorgo gorgo is offline
Senior Member
 
Join Date: Feb 2010
Posts: 169
Default change font size/spacing of existing text with VBA

I have some text that I need to change the size and line spacing to using VBA but I don't know how. Can someone help?
Reply With Quote
  #2  
Old 21-02-2019, 04:57
aakkaarr aakkaarr is offline
Senior Member
 
Join Date: Jan 2009
Posts: 154
Default

Dim s As Shape, t As Text
Set s = ActiveShape
If s.Type <> cdrTextShape Then Exit Sub
Set t = s.Text
t.Story.Size = 24
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
X5 Artistic Text size change? knowbodynow CorelDRAW/Corel DESIGNER VBA 1 08-02-2012 21:29
the size of font in X4 nathan CorelDRAW/Corel DESIGNER VBA 2 23-07-2010 12:12
leading (line spacing) between lines of artistic text that have different font size michael_maberly General 4 15-07-2007 11:07
Select specified text, change font size? fiddler2b CorelDRAW/Corel DESIGNER VBA 3 23-04-2006 08:11
Draw X3: bug in "Font Size Next Combo Size" wOxxOm General 3 31-01-2006 12:49


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


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