Saving PDF in memory

Q: Could you add one function which will return a binary PDF stream. I
have to save it (call doc.Save) on the disk and then read from the file
right now.
------------
A:

You can currently save the PDF in memory as illustrated in PDFDocMemory
sample project:
  www.pdftron.com/net/samplecode.html#PDFDocMemory