Please i have an asp core project that hosted in Centos v7 - now in my develop laptop (windows 10) Arabic is fine and shown as it should be - i use your tools to export pdf and show it to the user in browser using this code:
Code:
Code: Select all
var report = new StiReport();
report.Load(StiNetCoreHelper.MapPath(this, "Reports/MyLifePurposeMessage.mrt"));
var purposeMessage = _purposeMessageService.GetPurposeMessageById(id);
report.RegBusinessObject("LifeMessage", purposeMessage);
return report;
Code: Select all
var report = GetReport(reportType, id);
Stream stream = new MemoryStream(StiNetCoreReportResponse.ResponseAsPdf(report).Data);
return new FileStreamResult(stream, "application/pdf");