If you do a google search you will find some code samples more or less like this:
PdfWriter writer = PdfWriter.GetInstance(document, myIoStream);
And interestingly, most of the code samples don't use the writer object at all. So, what's the point of getting that handle? Thank you!