If somebody votes for this idea, should consider voting for this also: Allow pdf export to .Net memorystream.