OberonPlace.com Forums  

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

Thread Tools Search this Thread Display Modes
Old 28-01-2019, 12: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
Old 21-02-2019, 05:57
aakkaarr aakkaarr is offline
Senior Member
Join Date: Jan 2009
Posts: 164

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

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 22:29
the size of font in X4 nathan CorelDRAW/Corel DESIGNER VBA 2 23-07-2010 13:12
leading (line spacing) between lines of artistic text that have different font size michael_maberly General 4 15-07-2007 12:07
Select specified text, change font size? fiddler2b CorelDRAW/Corel DESIGNER VBA 3 23-04-2006 09:11
Draw X3: bug in "Font Size Next Combo Size" wOxxOm General 3 31-01-2006 13:49

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

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