I get the following error when attempting to read the PDF file within the same method after creating it. Please help with resolving this as I am currently reviewing this product.
“The process cannot access the file ‘output.pdf’ because it is being used by another process.”
Code used (the sample code from the website):
// create an instance of Ps2PdfConverter
var converter = new Aspose.EPS.Ps2PdfConverter();
// convert EPS to PDF
new System.IO.FileStream(dir + “template.eps”, System.IO.FileMode.Open, System.IO.FileAccess.Read),
new System.IO.FileStream(dir + “output.pdf”, System.IO.FileMode.Create, System.IO.FileAccess.Write)