Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Thu Jul 21, 2022 2:35 pm

Is it possible when converting a url to a pdf to be able to process the querystring for the url BEFORE the pdf is rendered?
I tried doing this but all I got was the empty url without the results of the querystring that fills it out.
code as follows (url already will include the querystring)

<WebMethod()>
Function URLToPDF(URL As String, PdfPath As String) As String
Try
HtmlConverter.Convert(URL, PdfPath, True, 100000, New Size(1080, 1000), New PdfMargins(0))
Return "OK"
Catch ex As Exception
Return ex.Message
End Try
End Function

davidacohens
 
Posts: 2
Joined: Thu May 05, 2022 12:13 pm

Fri Jul 22, 2022 4:00 am

Hello David Cohen,

Thanks for your message.
We are sorry that JavaScript support in our product was incomplete. If your test URL is public accessible, you can send it to us and we will try to investigate the issue. Thank you for your understanding.

Sincerely
Simple
E-iceblue support team
User avatar

Simple.Li
 
Posts: 248
Joined: Fri Jul 01, 2022 2:33 am

Return to Spire.PDF