Skip to main content
Participant
December 19, 2022
Question

Convert Htlm to pdf from an URI

  • December 19, 2022
  • 2 replies
  • 661 views

 

Hi, i am trying to create a pdf from an URI, for that i am using this code :

 

uriPath= "https://22759266.hs-sites.com/DpZWzbieeWPDKLdhi"
CreatePDFOperation htmlToPDFOperation = CreatePDFOperation.CreateNew();
Uri uri = new Uri(uriPath);
FileRef source = FileRef.CreateFromURI(uri);
htmlToPDFOperation.SetInput(source);

ExecutionContext executionContext = ExecutionContext.Create(this.credentials);

FileRef destination = fileRefOperation.Execute(executionContext);
destination.SaveAs("C:/Users/ouput.pdf");

 

The pdf is generated but, there are 2 buttons, that also have css that are no created, there is any configuration that i can use to see these buttons ?

This topic has been closed for replies.

2 replies

Legend
December 19, 2022

Bizarrely, this is nothing to do with Acrobat. These services don't use Acrobat in any way, but Adobe (in their wisdom) decided to call them the Acrobat Services API. They aren't even connected to the Acrobat SDK (which provides several APIs!) Here is the right forum to find the experts: Acrobat Services API - Adobe Support Community

Bernd Alheit
Community Expert
Community Expert
December 19, 2022

What version of Adobe Acrobat does you use?

Participant
December 19, 2022

Do you mean in the api or to open the pdf generated ?