Page 1 of 1

MultiLanguage support

Posted: Thu Aug 12, 2010 8:46 am
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?

MultiLanguage support

Posted: Thu Aug 12, 2010 8:56 am
by Jan
Hello,

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

Thank you.

MultiLanguage support

Posted: Thu Aug 12, 2010 9:04 am
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?

MultiLanguage support

Posted: Thu Aug 12, 2010 9:05 am
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

MultiLanguage support

Posted: Fri Aug 13, 2010 2:31 am
by Ivan
Hello,

Please use the following line of code:

Code: Select all

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