Answer the question
In order to leave comments, you need to log in
The CefSharp method does not work. Why?
It seems like I’m calling everything correctly, but there is no result in the Saves folder (a window with the inscription "Fortanulo" appears)
Code:
private async void button3_Click(object sender, EventArgs e)
{
try
{
await ChromeBrowser.PrintToPdfAsync(@"C:\Program Files (x86)\Arbitr\Saves");
MessageBox.Show("Фортануло!");
}
catch
{
MessageBox.Show("Не получилось!");
}
}
Answer the question
In order to leave comments, you need to log in
but there is no result in the Saves folderSpecify a file name.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question