Bom dia Pessoal!
Eu já tenho meu relatório em PDf e preciso que ele também tenha a opção de ser impresso em .doc.
Tenho abaixo a parte que exporta em Excel, o que devo mudar para que seja em word?
//Utilizando exportação para pdf
BinaryReader stream = new BinaryReader(crReportDocument.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat));
HttpContext.Current.Response.ClearContent();
HttpContext.Current.Response.ClearHeaders();
HttpContext.Current.Response.ContentType = "application/pdf";
HttpContext.Current.Response.BinaryWrite(stream.ReadBytes(Convert.ToInt32(stream.BaseStream.Length)));
HttpContext.Current.Response.Flush();
HttpContext.Current.Response.Close();