Free Support Forum - aspose.com

I want to close the PDF window when link or button is clicked

Is this possible?

This is displaying in a browser window. Also is it possible to reference this browser window by target name? I am displaying it via:

pdf.Save(fileName, Aspose.Pdf.SaveType.OpenInAcrobat, HttpContext.Current.Response);

Thanks for considering Aspose.

Could u just give more details about your thoughts? I can't catch your meaning according to above descriptions.

I create a PDF file and open it from a web application. In the PDF file I have a Link that goes to a web page. What I would like to happen, is when you click on the link go to a web page (which is no problem) but i also want it to close the PDF file at the same time.

I have tested the web link in Aspose.Pdf. When the web link is clicked, the browser goes to the linked page and the PDF is closed automatically.