Search found 4 matches

by VladC
22 Sep 2008, 14:29
Forum: CAD .NET
Topic: Procedure for exporting DWG to Stream
Replies: 7
Views: 26618

Re: Procedure for exporting DWG to Stream

Why yes, any way of saving DWG? And, if not, any plans for that in the near future?
by VladC
20 Sep 2008, 15:49
Forum: CAD .NET
Topic: Procedure for exporting DWG to Stream
Replies: 7
Views: 26618

Re: Procedure for exporting DWG to Stream

Thank you for the example; I have tracked one of the problems (image not showing completely) to image loading the wrong layout by default (your editors would probably set CurrentLayoutIndex to 1 somewhere). The other problem is due to the enormous size of the image passed sometimes, which causes GDI...
by VladC
18 Sep 2008, 17:56
Forum: CAD .NET
Topic: Procedure for exporting DWG to Stream
Replies: 7
Views: 26618

Re: Procedure for exporting DWG to Stream

Unfortunately, I cannot upload the files because they belong to a client and contain sensitive information. I can tell you though that the files load correctly into your examples, so your component does its job: this is just a documentation failure or something I'm doing wrong on my side. So if you ...
by VladC
18 Sep 2008, 16:27
Forum: CAD .NET
Topic: Procedure for exporting DWG to Stream
Replies: 7
Views: 26618

Procedure for exporting DWG to Stream

I am using CADImport .NET professional and I'm having problems exporting a CADImport.DWGImage to a Stream in bitmap format. The code I use is roughly: CADImport.DRect ext = new CADImport.DRect( 0, 0, 0, __loaded.AbsWidth, __loaded.AbsHeight, 0); __loaded.SaveToStream(__imageStream, System.Drawing.Im...