I am trying to read a string of html out of a database, convert that to a io.stream, and then pass that stream to the bindHTML method. How can I do this? I tried using the following code with no luck. Any suggestions?
Thanks,
Dim ms as string = “…”
Dim s As System.IO.Stream
Dim b() As Byte
Dim utf As New System.Text.UTF7Encoding
b = utf.GetBytes(ms)
s.Write(b, 0, b.Length)
pdf.BindHTML(s)