Я не могу установить ширину области просмотра веб-страницы для создания PDF из URL.
Мой код указан ниже:
var pechkin = Factory.Create(new GlobalConfig()
.SetPaperOrientation(true)
.SetPaperSize(PaperKind.A2)
.SetDocumentTitle("title")
);
var pdf = pechkin.Convert(new ObjectConfig()
.SetLoadImages(true)
.SetZoomFactor(1)
.SetPrintBackground(true)
.SetScreenMediaType(true)
.SetCreateExternalLinks(true)
.SetCreateInternalLinks(true)
.SetIntelligentShrinking(false)
.SetPageUri(urltxt.Text.Trim().ToString())
);
#endregion
Нет таких опций для установки ширины области просмотра.