Page 1 of 1

Inconsistent types for StiText HorAlignment / VertAlignment

Posted: Wed Nov 21, 2012 12:45 pm
by tpontow
Hallo,

currently im working with dynamic report creation. So i have to create new Instances of StiText class. In this context i saw that the properties StiText.HorAlignment and StiText.VertAlignment are from types with inconsitent names.

Code: Select all

 StiText textControlForDataColumn = new StiText
                        {
                            HorAlignment = StiTextHorAlignment.Left,
                            VertAlignment = StiVertAlignment.Center
                        };
Why are the names not StiTextVertAlignment or StiHorAlignment for consistence reason? That would be a little bit easier to remember or to conclude.

Kind regards
Thorsten Pontow

Re: Inconsistent types for StiText HorAlignment / VertAlignm

Posted: Wed Nov 21, 2012 1:14 pm
by Alex K.
Hello,

Yes, it is slight inaccuracy. But it is more then 8 years old, and we cannot change something now.

Thank you.