Space getting added between characters while writing to PDF using binary write

A

Atul Verma

Guest
Here is the sample code.

Dim rawData As Byte() = "sample data"
Response.ContentType = "application/pdf"
Response.ContentEncoding = System.Text.Encoding.UTF8
Response.BinaryWrite(rawData)
Response.End()

Continue reading...
 
Top