Skip to content

Commit 49bddb7

Browse files
committed
995158: Added proper path.
1 parent a98bccc commit 49bddb7

File tree

1 file changed

+1
-1
lines changed
  • HTML to PDF/Blink/Accessible_PDF_In_HTML_to_PDF/.NET/Accessible PDF

1 file changed

+1
-1
lines changed

HTML to PDF/Blink/Accessible_PDF_In_HTML_to_PDF/.NET/Accessible PDF/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//Assign the BlinkConverterSettings to the ConverterSettings property of HtmlToPdfConverter.
1111
htmlConverter.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
1616
document.Save(Path.GetFullPath(@"Output/Output.pdf"));

0 commit comments

Comments
 (0)