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 });
转载于:https://www.cnblogs.com/c-x-a/p/7218759.html
相关资源:C#开发的PDF文件浏览器
转载请注明原文地址: https://mac.8miu.com/read-67940.html