I have the below function .This function returns string .I want to create pdf file using this value.
private static string FromGzipMemoryStream(MemoryStream stream)
{
using (GZipStream zipStream = new GZipStream(stream, CompressionMode.Decompress))
using (StreamReader reader = new StreamReader(zipStream))
{
return reader.ReadToEnd();
}
}
is it possible to create pdf file from string values.?.or we have to convert into bytes.?.how to create pdf file.
Please help..

Afzaal Ahmad ZeeshanRank #60 · 27.6K reputationPosted Nov 8, 2015, 8:11 AM EST
vivek khanolkar2 reputationPosted Nov 26, 2015, 7:35 AM EST
Rahul PrasadRank #2,557 · 546 reputationPosted Nov 26, 2015, 4:06 PM EST