Manipulate CorelDraw layers

Introduction

I started working with CorelDraw! 9.0 about 2 years ago, and found some practical functions were missing. Therefore, I have added these functions using VBA. I will post more subs and functions soon.

Contents

Page 2 - LayerExists - Check if a layer exists

Page 3 - LayerCreate - Corel VBA provides a function for adding layers, but that one reports an error when the layer already exists and stops the code.

Page 4 - LayerActive - This one is also available in Corel, but the same as LayerCreate, Corel doesn't check first if the layer exists...

Page 5 - LayerSingle - Very practical when you've got a lot of layers and want to edit or export only objects on one of them...

Any comments or suggestions? Please contact me!

All my posted Corel VBA subs and functions are for FREE, just let me know if this helped you in any way... and include me on the credits list when you start distributing ;-)

Have fun!

You might also like...

Comments

About the author

 Thamar

Thamar Poland

I was born in a small town in Holland, and currently live in Poland. I'm fluent in English, German, Polish and Dutch, speak a bit of French and Russian. After finishing Information Technologies ...

Interested in writing for us? Find out more.

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“The question of whether computers can think is just like the question of whether submarines can swim.” - Edsger W. Dijkstra