Skip to main content
Participant
May 10, 2021
Question

Close Pdf Api

  • May 10, 2021
  • 2 replies
  • 1036 views

Hi all,

I have 3,4 ... pdf documents opened in Adobe Reader.

a.pdf

b.pdf

c.pdf

d.pdf .....

Let's say that I want to close one of them.

Is it possible also just to close tab without killing process?

I found this with which I can manipulate pdfs documents.

https://opensource.adobe.com/dc-acrobat-sdk-docs/

https://www.nuget.org/packages/Adobe.DocumentServices.PDFTools/

https://github.com/adobe/PDFTools.NET.SDK.Samples

Nowhere I see in it that I can close one or specific pdf file.

 

This topic has been closed for replies.

2 replies

Legend
May 11, 2021

You can look at the DDE API in the Acrobat SDK. 99% of the API is only for paid-for Acrobat, but maybe there is something for Acrobat. Don't bother with the JavaScript or COM/OLE API if you only have Reader/ There is no API control over tabs in any product. Bear in mind the Acrobat SDK is a marketing tool for Acrobat, not a way for you to get more out of Reader without paying...

BarlaeDC
Community Expert
Community Expert
May 10, 2021

Hi,

 

Are you trying to close them from Reader or a different application?

 

Adobe Reader is limited in what you can automate, but a bit more understanding of you workflow would help?

Are you opening these files manually or is a process doing it?

How are you trying to shut them, a specific order, just the currently active one?

 

Does Cmd (Ctrl) + w help?

SzpepaAuthor
Participant
May 11, 2021

Hi,

I open these pdf files manually. My workflw is very simply if there are many opened pdf files then the program automtically close some it which had opened for some time.

I try to develop an interface in C# language which close secific pdf file or pdf files.

I don't want to close it all. So I don't want to kill the process.