Aspose.Pdf.Pdf asposePDF = new Aspose.Pdf.Pdf();
String sourceFilePath="c:\\installers\\test.pdf";
Aspose.Pdf.Kit.Form frm=
new Aspose.Pdf.Kit.Form(sourceFilePath);
//Manipulate the paths and files
String sourceFileName = Path.GetFileName(sourceFilePath);
....
String tempFilePath = Path.Combine(tempDirectory, outputFileName);
//Create a new xml file to contain the content of the pdf.
System.IO.FileStream xmlOutputStream = new FileStream(tempFilePath, FileMode.Create);
//Export all the pdf fields' value into the xml file.
frm.ExportXfdf(xmlOutputStream);
xmlOutputStream.Close();
Dan Gillespie
VP, Business Development
Click Commerce