MultiLanguage support

Stimulsoft Reports.NET discussion
Post Reply
frisco434
Posts: 24
Joined: Tue Jul 20, 2010 8:30 am
Location: Toledo

MultiLanguage support

Post by frisco434 »

Hello all,

Im making a custom report engine in .net that will format and moved columns on dynamically create text fields with their corresponding width and heights, nothing too crazy. It works great in English ! but as asoon as i change run this on a German OS the report Sizes are all out of wack. Bands are double their lengths etc, im sure it has to do with the difference in comma separator, is there a easy way to fix this?
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

MultiLanguage support

Post by Jan »

Hello,

I think problem in report unit. By default on English system used Inches. For German default unit is Centimeters.

Thank you.
frisco434
Posts: 24
Joined: Tue Jul 20, 2010 8:30 am
Location: Toledo

MultiLanguage support

Post by frisco434 »

i think i figured it out, its the unit , german uses centimeters and english uses inches, is there a way to FORCE use inches?
frisco434
Posts: 24
Joined: Tue Jul 20, 2010 8:30 am
Location: Toledo

MultiLanguage support

Post by frisco434 »

hhehehe jan we posted at the same time ! hahaha, at least we are on teh same page, can i force inches? so i dont have to go through all my text / band declaratiosn and multiply it by 2.54
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

MultiLanguage support

Post by Ivan »

Hello,

Please use the following line of code:

Code: Select all

            StiOptions.Engine.DefaultUnit = StiReportUnitType.Inches;
Thank you.
Post Reply