DxfWriter

1
Earthbound
4/16/2008 2:43 AM

DxfWriter(System.IO.MemoryStream, WW.Cad.Model.DxfModel, bool)

Sure would be nice to get this in a MemoryStream option!

Thanks - Johan.

Wout
4/16/2008 11:54 AM

Hi Johan,

A MemoryStream is also a Stream, so you can just pass a MemoryStream as a parameter as well. Let me know if you encounter any problems.

Wout

Earthbound
4/16/2008 6:52 PM

yes this works fine. The issue I was having wasn't related to the memorystream working with base stream class. It was in writing of the memory stream to a file. I manage to fix the problem code I created. I think it was just one of those very long day and my mind was going south... :-)

thanks

Wout
4/16/2008 6:57 PM

Ah, forgot to Flush perhaps? Glad it works anyway!

Wout

1