Skip to main content
Participant
June 16, 2020
Question

convert PDF 'Export to' image (tiff) using sdk (c#)

  • June 16, 2020
  • 1 reply
  • 1530 views

Hi.

I wanna use 'export to' function (below picture) using sdk. 

 

How can I use that in c#? Or can I get a sample code (pdf to tiff example) somewhere?

Any reply would be helpful!

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
June 16, 2020

I'm not familiar with C#, but using JavaScript it can be done by using the saveAs command and specifying the cConvID parameter as "com.adobe.acrobat.tiff". There's probably something similar in C#. If not, try executing it using JS.

Sup.SHAuthor
Participant
June 16, 2020

Thanks for reply.

I can find many functions like below picture but I can't find a command like 'saveAs'.

 

I made a program has another function with c# and I wanna combine with Acrobat SDK. So I think it takes more time to learn a Java.

 

Legend
June 16, 2020

1. Not Java, JavaScript. It's a different language, and searching for Java will lead you to waste a lot of time.

2. There is a bridge from Visual Basic to Acrobat JavaScript, allowing a lot of methods to be used, though it's often easier to build the complete JavaScript statement and send it to execute.

3. Some people have made the same bridge work with C#. It seems possible but (from my perspective) cumbersome.

4. You need to study the Acrobat SDK in detail. There are thousands of pages, expect study to take a long time.

5. Some of us would prefer if you do not ask for sample code instead of study. We prefer to see questions that ask for pointers into the documentation, or interpretation of it, or why your code fails. This is a personal preference, but from my perspective, if we provide sample code, we find people come back again and again for more sample code, rather than learning. Your mileage may vary.