API Tool

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 Cervelli
Creative Manager, GiftsForYouNow.com

Parents
  • 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.

    Hendrik

Reply Children
No Data