Hello to all Respected expert,
Actually sir I am C# developer Now I Need to Convert corel draw file to jpg using c# Code. so please guide me how can I convert .cdr to jpg or jpeg..........
Thanx
Check the code "File converter" macro. It is a built in macro in CorelDRAW to convert .CDR file to many different file formats.
GoTo Tools > Macros > Macro Editor and check for the code named file converter.
The macro editor generally expects to use VBA code. I'm not sure you can use c# code within it.
There was some discussion about c# plugins here but that was for X4 and I think probably VSTA is the intended method for current programs. But there seems to be very little information and not many people using it, or at least not many forum posts about using it. Microsoft also seems to have abandoned VSTA so its not clear whether it will remain available in future versions.
Very Very Thanks sir for reply,
Sir in the corel draw I use Macro scripts and get success to convert .cdr to jpg using the method "frmfilecoverter.show"
But sit now I want to embed this method in my C# window form application. So please help me to embed this method or source code in my Program.
Thanxxxxx
You can open the code in macro editor instead of just running the macro. Read, understand the code to write your C# code. There may be some change in c# syntax which you will have to take care of.