@Imports TuesPechkin
Dim WebSettings = New WebSettings()
With WebSettings
.PrintBackground = False
End With
Dim URL As New Uri("http://www.adelaide.edu.au")
Dim converter As IPechkin = Factory.Create()
Dim result As Byte() = converter.Convert(URL)
File.WriteAllBytes(Server.MapPath("") & "\example.pdf", result)
无法解决如何获取.PrintBackground = False工作
答案 0 :(得分:0)
websettings对象在哪里连接到转换器对象?
如果两者没有连接,那么设置的网页设置就不会有任何区别。