Код: Выделить всё
string processExe = @"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe";
string processArgs = $"--headless --run-all-compositor-stages-before-draw --virtual-time-budget=6000 --no-pdf-header-footer --print-to-pdf-no-header --print-to-pdf=\"{outputFilePath}\" \"{inputFilePath}\"";
var printPDF = Process.Start(processExe, processArgs);
printPDF.WaitForExit();
Есть у кого-нибудь идеи?
Спасибо
Подробнее здесь: https://stackoverflow.com/questions/789 ... it-code-21