@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工作
发布于 2015-01-12 05:02:24
websettings对象连接到converter对象的位置在哪里?
如果两者未连接,则websettings设置为什么也不会有任何区别。
https://stackoverflow.com/questions/25197368
复制相似问题