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..
Rahul PrasadPosted Nov 26, 2015, 9:06 PM
vivek khanolkarPosted Nov 26, 2015, 12:35 PM
Afzaal Ahmad ZeeshanPosted Nov 8, 2015, 1:11 PM