Hi - We are trying to create a new page in a PDF Doc and adding an image from a source.
Using: Latest Version of Aspose.Pdf 18.3.0.0
using(Document doc = new Document(“Somepdf.pdf”){
doc.Pages.Add();
var totalPages = doc.Pages.Count;
Image im - new Image();
im.File = “http://someserver/some.gif”
doc.Pages[totalPages].Paragraphs.Add(im)
doc.save(“imagedPDF.pdf”)
}
The problem is that just after running this piece of code, a new record gets inserted in the database for viewing “imagedPDF.pdf”(i don’t even open the latest file). Can you please help in this and suggest why is this happening and how to fix it?