Fitting html page into to PDF by using ChromiumWebBrowser control RRS feed

  • Question

  • I print on PDF by using control of ChromiumWebBrowser But my PDF page doesn't fit into A4 page
    That's mean it doesn't fit into a page.It brims over a page.I just want in one page.
    Is it possible for me to do this?

    PrivateAsyncFunctionConvert2PDF() AsSystem.Threading.Tasks.Task

    DimpdfFile AsString= IO.Path.Combine(IO.Path.GetDirectoryName(_htmlFileName), IO.Path.GetFileNameWithoutExtension(_htmlFileName) + ".pdf")


    Dimr AsBoolean= Await_chromeBrowser.PrintToPdfAsync(pdfFile)




    Thursday, May 21, 2020 9:14 PM

All replies

  • Arzu Yildiz,

    Sorry but you have posted to a forum that deals exclusively with questions/issues about customizing and programming Microsoft Project, a project management application. I suggest you re-post to the following forum:


    Thursday, May 21, 2020 9:58 PM