J
jmrasmus
I am trying to create a PDF file in C# .NET from a string. Here is my
code...
Encoding unicode = Encoding.Unicode;
byte[] unicodeBytes = unicode.GetBytes(sBuffer);
Response.BinaryWrite(unicodeBytes);
Response.End();
where sBuffer is a string.
I am getting an Acrobat error that states the file is corrupted and
cannot be repaired.
Can anyone please help, I have been stuck on this for days.
TIA
Jim
code...
Encoding unicode = Encoding.Unicode;
byte[] unicodeBytes = unicode.GetBytes(sBuffer);
Response.BinaryWrite(unicodeBytes);
Response.End();
where sBuffer is a string.
I am getting an Acrobat error that states the file is corrupted and
cannot be repaired.
Can anyone please help, I have been stuck on this for days.
TIA
Jim