开发者

IronPDF html query parameter

开发者 https://www.devze.com 2022-12-07 20:35 出处:网络
Does IronPDF support html query parameters, or is there an alternate method? I\'ve been using IronPDF to convert an html file to PDF using the following method: var pdf = ironRenderer.RenderUrlAsPdf(r

Does IronPDF support html query parameters, or is there an alternate method?

I've been using IronPDF to convert an html file to PDF using the following method: var pdf = ironRenderer.RenderUrlAsPdf(reportPath);

Ho开发者_C百科wever, the html located at reportPath now requires a parameter userid. I have tried var pdf = ironRenderer.RenderUrlAsPdf(reportPath?userid=1); but that gives me the following error: CheckHtmlFilePath - File not found: .../index.html%3Fuserid=1'

I can't see any documentation in IronPdf that parameters are supported. Does anyone have any work arounds?

0

精彩评论

暂无评论...
验证码 换一张
取 消