Need ability to render to a stream

Oct 25, 2011 at 10:55 PM

The Render class has a CreateImageFile() method which renders to a specified filename.

A more general approach is to render to a Stream object.

This way, it can be used to render to an in memory object which may be placed within another object (e.g. PDF).

Another reason is that some of the hosting providers that may run the code may not allow 'write' access to the filesystem and would make

it impossible to use the code in that environment.

Thanks for the code, it appears to work well!



Oct 25, 2011 at 11:55 PM

I will put this under Issue tracker. Thanks for suggestion. 

Oct 26, 2011 at 6:10 PM

Implemented with