Page 1 of 1

PDF with unknown characters

Posted: Tue Mar 29, 2016 8:13 pm
by tsdeveloper
Good afternoon, guys, I'm trying to export PDF problems in my application using Azure. When I confirm the screen looks like this:

But when I run site works.

When I mark the PDF / A Compliance option running on Azure can view the PDF.
Is there any way to programmatically C # to leave this option checked?

Code: Select all

try
        {
            StiReport stirep = new StiReport();
            string caminho = Server.MapPath("");
        
            var docReport = caminho + "\\rptTeste.mrt";
            stirep.Load(caminho + "\\rptTeste.mrt");
             docReport = stirep.ToString();
            stirep.Dictionary.Databases.Clear();
            stiPdfExportSettings.PdfACompliance = true;
   

            stirep.Dictionary.Databases.Add(new Stimulsoft.Report.Dictionary.StiSqlDatabase("dataDB", SessionCnn.ConnectionString));


            stirep.ReportAlias = "Certificado-" + SessionParticipante.NuCPFCNPJ;

            stirep.Compile();

        
            
            
            stirep.Render();
          
            StiWebViewer1.Report = stirep;

        
            
        }
        catch (Exception ex)
        {
            
            throw ex;
        }


Re: PDF with unknown characters

Posted: Wed Mar 30, 2016 6:24 am
by HighAley
Hello.

Could you specify which Viewer do you use and what version?

Thank you.

Re: PDF with unknown characters

Posted: Wed Mar 30, 2016 7:29 pm
by tsdeveloper
Hello, version Ultimate 2015.2.0

Re: PDF with unknown characters

Posted: Thu Mar 31, 2016 6:23 am
by HighAley
Hello.

Unfortunately, it's impossible to change default export settings.
If you need this feature, please, send us a feature request to support@stimulsoft.com.

Thank you.