Hello Guys,
I am completely new to the Corel Draw SDK and im just going through the basic tutorials. Im a software engineer experienced in web technologies. I need to build a solution for a customer in which I receive a corel draw file and I need to write a script that reads properties from that file and gets the width and height of the whole parent shape (as if using the selection tool, selecting everything and getting the width and the height) this is necessary in order to get the total area in 2d of the 3d shape. Im completely lost, does someone have an example of it? is it possible to use coreldraw SDK outside of corel draw as i.e being called from the command line?
Your main programming language? if use JavaScript,I can give you something idea
Yes, you can use the API outside of Coreldraw using an external executable, but you will need to use a language with COM support on Windows, I don't have information on MAC. In the tutorials area you will find examples in C++, C#, VB.I have this example video using Powershell
Yes I use JavaScript
ha, web developer too~
Let me give you a rough idea of what I have learnedCorelDRAW has a built-in V8 engine that can run JavaScript scripts. You can use HTML, CSS, and JS to implement the front-end interface UI in CorelDRAW, but I haven't researched the API for webview and host machineIn addition, you can also schedule through the COM interface solution, using Node.js or other external scheduling methods to execute