File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Accessible_PDF_In_HTML_to_PDF/.NET/Accessible PDF
Convert-website-URL-to-PDF-document/.NET/Convert-website-URL-to-PDF-document Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1010//Assign the BlinkConverterSettings to the ConverterSettings property of HtmlToPdfConverter.
1111htmlConverter . ConverterSettings = settings ;
1212//Convert URL to PDF.
13- PdfDocument document = htmlConverter . Convert ( "file:///D:/PDF-Examples/HTML%20to%20PDF/Blink/Accessible_PDF_In_HTML_to_PDF/.NET/Accessible%20PDF/ Data/Input.html") ;
13+ PdfDocument document = htmlConverter . Convert ( Path . GetFullPath ( @" Data/Input.html") ) ;
1414
1515//Save the PDF document
1616document . Save ( Path . GetFullPath ( @"Output/Output.pdf" ) ) ;
Original file line number Diff line number Diff line change 77using ( PdfDocument document = htmlConverter . Convert ( "https://www.google.com" ) )
88{
99 //Save the PDF document
10- document . Save ( "Output.pdf" ) ;
10+ document . Save ( Path . GetFullPath ( @ "Output/Output .pdf") ) ;
1111}
You can’t perform that action at this time.
0 commit comments