Hi,
With the Aspose.Pdf.Generator namespace, if an image path didn't exist then the image would just not be put into the table in my Pdf and that was fine, but with the Aspose.Pdf namespace I get nullexceptions when images don't exist thrown on pdf.Save(memoryStreamContent);
Is there a way around this so I don't have to do a if (File.Exists(fileName)) {... check on all my images? Because that is slowing down the Pdf generation a fair amount.
Actually building the Pdf still works fine, it's the save that is not working.
Building the Pdf doesn't throw any exceptions, it's just when it gets saved to a stream.
With the Aspose.Pdf.Generator namespace, if an image path didn't exist then the image would just not be put into the table in my Pdf and that was fine, but with the Aspose.Pdf namespace I get nullexceptions when images don't exist thrown on pdf.Save(memoryStreamContent);
Is there a way around this so I don't have to do a if (File.Exists(fileName)) {... check on all my images? Because that is slowing down the Pdf generation a fair amount.
Actually building the Pdf still works fine, it's the save that is not working.
Building the Pdf doesn't throw any exceptions, it's just when it gets saved to a stream.