C1 Community
ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

How to print date with French format?

rated by 0 users
This post has 1 Reply | 1 Follower

Not Ranked
Posts 1
venuewest Posted: Thu, Feb 26 2009 4:31 PM

There is a report running on French website. It's ASP.NET site. I've add "<globalization culture="fr-CA" />" in the web.config. The date is show French format on the web page. But when I get PDF report, it still show English format. How to fix it? Thanks.

Top 25 Contributor
Posts 666
C1_DaveT replied on Fri, Mar 27 2009 6:02 PM

In this scenario you may embed fonts in the PDF file which is being generated. Such as –

-------------------

C1.C1Preview.Export.PdfExporter MyPdf = new C1.C1Preview.Export.PdfExporter();

 

        MyPdf.Document = this.C1WebReport1.Report.C1Document;

 

        MyPdf.EmbedTrueTypeFonts = true;

 

        MyPdf.ShowOptions = true;

 

        MyPdf.Export("c:\\MyPdfFile2.pdf");

------------------

 

I hope this helps.

 

-Dave.

<venuewest> wrote in message news:214866@10.0.1.98...

There is a report running on French website. It's ASP.NET site. I've add "<globalization culture="fr-CA" />" in the web.config. The date is show French format on the web page. But when I get PDF report, it still show English format. How to fix it? Thanks.



http://helpcentral.componentone.com/cs/forums/p/78366/214866.aspx#214866

Page 1 of 1 (2 items) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2010 ComponentOne LLC All Rights Reserved.