If I execute the following code, the pdf output is duplicated in the file save. How do I avoid this? Do I have to create a new pdf object and rebind the xml?
//create a pdf object
Pdf pdf = new Pdf();
//load the xml stream into an xml document and bind to the pdf object
XmlDocument xml = new XmlDocument();
//save pdf document to stream
//save pdf document to file
filename.Append(" for " + row[m_NameField] + “.pdf”);