OberonPlace.com Forums  

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

Thread Tools Search this Thread Display Modes
Old 03-03-2003, 18:26
Posts: n/a
Default Setting Outline Color


I am new with Corel and VB. I would like to know if it is possible to write a small macro that changes the properties of the outline pen without selecting anything.

What I want is simply that when I run the macro, it sets the color and width of all that will be drawn with the freehand tool in the future. I went through the classes and can't see anything. Should I create a corelscript object and ApplyOutline? :?

Thank you in advance for giving me a hint,
Reply With Quote
Old 18-03-2003, 18:33
Alex's Avatar
Alex Alex is offline
Join Date: Nov 2002
Posts: 1,940
Blog Entries: 4
Default Re: Setting Outline Color


No, what you are trying to do is to modify a default graphic style definition. Styles are not supported in VBA (yet), so there is no way you can do it. At least, none that I know of...

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
Suggestion for Color replacer script ... Peter Macros/Add-ons 7 03-12-2004 06:52
CD 10, VBA not returning true outline width Webster CorelDRAW/Corel DESIGNER VBA 1 24-11-2004 17:09
Apply Outline - Scale with Image geopig CorelDRAW/Corel DESIGNER VBA 4 06-05-2004 07:23
Try to capture a fill color for reuse Anonymous CorelDRAW CS 1 03-05-2004 20:48
color replacer - some ideas Zuk Macros/Add-ons 0 29-04-2003 03:09

All times are GMT -5. The time now is 19:09.

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