PDF with unknown characters

Stimulsoft Reports.WEB discussion
Post Reply
tsdeveloper
Posts: 2
Joined: Tue Mar 29, 2016 7:52 pm

PDF with unknown characters

Post 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;
        }

Attachments
works PDF / A Compliance option
works PDF / A Compliance option
Captura de Tela (3).png (112.95 KiB) Viewed 1117 times
works
works
Captura de Tela (2).png (107.29 KiB) Viewed 1117 times
Tela Error
Tela Error
Error.png (42.13 KiB) Viewed 1117 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: PDF with unknown characters

Post by HighAley »

Hello.

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

Thank you.
tsdeveloper
Posts: 2
Joined: Tue Mar 29, 2016 7:52 pm

Re: PDF with unknown characters

Post by tsdeveloper »

Hello, version Ultimate 2015.2.0
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: PDF with unknown characters

Post 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.
Post Reply