using (FastReport.Report report = new FastReport.Report())
{
    report.Load(HttpContext.Current.Server.MapPath("~/App_Data/report.frx"));
    report.RegisterData(datatable, datatable.TableName);
    report.Prepare();
    using (MemoryStream ms = new MemoryStream())
    {
        using (FastReport.Export.Pdf.PDFExport pdf = new FastReport.Export.Pdf.PDFExport())
        {
            pdf.Title = "Report Title";
            pdf.Name = "Report Title";
            pdf.EmbeddingFonts = false;
            report.Export(pdf, ms);
        }
        ms.Position = 0;
        HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.OK);
        response.Content = new ByteArrayContent(ms.ToArray());
        response.Content.Headers.ContentLength = ms.Length;
        response.Content.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/pdf");
        response.Content.Headers.ContentDisposition = new ContentDispositionHeaderValue("inline") { FileName = "report.pdf" };
        return response;
    }                                   Â
}
pdf export maybe unsupported, there is no documentation for htmlobject, i think the purpose of htmlobject is to embed full html codes in web report, according to release notes:
Version 2016.4
[Core]
+ added new HtmlObject for using in the WebReport or HTML export
Thank you but in that case how can i get a correct formated text in the report? i have try Richtext.
sample "
- No corrente mês continuaram as reparação das portas corta fogo e respectivas verificação as mesmas recuperando algumas.
- Foram colocadas armaduras novas na zona exteriores e armaduras de emergência nos estacionamentos.
"
CONCLUSOES text COLLATE Latin1_General_CI_AS NULL,
pdf export maybe unsupported, there is no documentation for htmlobject, i think the purpose of htmlobject is to embed full html codes in web report, according to release notes:
Version 2016.4
[Core]
+ added new HtmlObject for using in the WebReport or HTML export
Comments
i tried to export from code, looks fine...
Thank You
Version 2016.4
[Core]
+ added new HtmlObject for using in the WebReport or HTML export
sample "
- No corrente mês continuaram as reparação das portas corta fogo e respectivas verificação as mesmas recuperando algumas.
- Foram colocadas armaduras novas na zona exteriores e armaduras de emergência nos estacionamentos.
"
CONCLUSOES text COLLATE Latin1_General_CI_AS NULL,
http://demos.telerik.com/aspnet-ajax/edito.../defaultcs.aspx
Thank you
http://www.jqwidgets.com/jquery-widgets-do...ted.htm?search=
there are commercial code such as gembox.document , sautinsoft.htmltortf, https://demos.devexpress.com/MVCxRichEditDe...ent/LoadAndSave