Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hi All

I am creating a Windows application using c# in which i need to import .cdr file created in coral draw.

please some tell me how to achieve it as soon as possible.

thanks
Posted
Updated 9-Apr-19 22:52pm

CoralDraw (cdr) file format is proprietary and not public - so it not likely you can read it as a CoralDraw file, but binary only...
http://en.wikipedia.org/wiki/CorelDRAW#CDR_file_format[^]
 
Share this answer
 
If you are looking to distribute the application onto a machine that does not have a licensed copy of Corel Draw in place, then you are going to have to write your own parser to transform the binary format into a bitmap format that your application can use. This is not a trivial task. An alternative would be to use an image converter service such as this[^] to convert the image.

If the machine has Corel Draw installed, you can use the Corel Draw Type Library and Vector Graphics Core Type Library to manipulate the image. This is available through the COM tab in Add References.
 
Share this answer
 
Comments
thatraja 27-Jan-14 5:13am    
5! First I thought he's talking about comic reader, later noticed the extension(.cdr instead of .cbr)
At Stack Overflow, you may find, as a workaround, how to convert CDR files: "Convert cdr (Corel Draw) using .net"[^].
 
Share this answer
 
Comments
Pete O'Hanlon 27-Jan-14 5:16am    
This only works if the machine that the application ends up on has Corel Draw installed.
CPallini 27-Jan-14 5:24am    
Yes.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900