var success = await browserViewModel.WebBrowser.PrintToPdfAsync(dialog.FileName, new PdfPrintSettings
{
	MarginType = CefPdfPrintMarginType.Custom,
	MarginBottom = 10,
	MarginTop = 0,
	MarginLeft = 20,
	MarginRight = 10,
	PageWidth = 210000,
	PageHeight = 297000
});