I am not sure if this is the correct location for this question, but I need to start somewhere.
Does CorelDraw have an API which will allow me to connect a website & database
form to corel document and generate out a .jpg or .png file for which I
can post online as a virtual proof automatically?
We have a home grown preview tool already on our site but we would like to tie the personalization into the actual coreldraw files for accurate representations of the finished product.
Thanks,Paul CervelliCreative Manager, GiftsForYouNow.com
If your site is run on a windows server, you could hook into CorelDRAW's object model and have it output jpgs or pngs. There are several ways to do this. For example, you could write a command line c# app (or another language of your choice that can import Draw's OM). The command line app would use the command line arguments and ask draw to generate the images.
There's a few things to be aware of:
1. AFAIK, Draw isn't tested to run in a server environment, and you risk taking down your server. You might want to restart Draw every once in a while, that may help if there are any memory leaks (we try our best to patch these, but occasionally we miss some).
2. Licensing, I really don't know how this works with this type of use of Draw, you may want to contact Corel and ask about this.
I know this is not on topic with this thread, but since you are here.....
Do you know if we can change the order of Master Layers using VBA, or in particular, move a layer below the Master Layers with VBA? We can move a Master Layer below normal layers, but I can't find a way of moving a Master Layer below other Master Layers. Any tips on this would be most appreciated.