当前位置: 首页 > 工具软件 > SharpPDF > 使用案例 >

cefsharp保存文件为pdf

洪通
2023-12-01
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

 类似资料: