Posted 23 July 2018, 12:39 am EST - Updated 30 September 2022, 6:08 pm EST
Sample attached.SectionReportApplication2.zip
Forums Home / ActiveReports / ActiveReports v7+
Posted by: ilia on 23 July 2018, 12:39 am EST
Posted 23 July 2018, 12:39 am EST - Updated 30 September 2022, 6:08 pm EST
Sample attached.SectionReportApplication2.zip
Posted 23 July 2018, 1:00 am EST
Hello Ilia,
Please set the TextAngle in “PageStart” event instead of “ReportEnd” event. I have modified the sample.
Thanks
prj_AngleModified.zip
Posted 23 July 2018, 2:51 am EST
In my sample Page.TextAngle returns -90 instead of 900. Is it by-Design?
Posted 23 July 2018, 4:21 am EST
Hello Ilia,
I understand, it rotates the text in the different direction. However, as a workaround, you can use “-” sign to rotate it in the right direction.
Please confirm above workaround is acceptable to you?
Thanks,
Mohit
Posted 23 July 2018, 7:35 am EST
It not only rotates the text in the other direction, but also returns the angle value 10 times less.
Posted 23 July 2018, 8:06 am EST
Ilia,
but also returns the angle value 10 times less.
It is by design. You can also refer to the documentation link:
http://help.grapecity.com/activereports/webhelp/AR12/webframe.html#GrapeCity.ActiveReports.Document.v12~GrapeCity.ActiveReports.Document.Section.Page~TextAngle.html
Thanks
Posted 23 July 2018, 11:24 am EST
Where it is Documentation? (Sets 900>> gets 90).
Gets or sets the angle of text used to draw text.
'Declaration
Public Property TextAngle As Integer
Property Value
Integer value of the text angle (1/10 degree).
P.S. In AR2 COM: sets 900 >> gets 900
Posted 23 July 2018, 11:45 pm EST
Ilia,
There is lots of difference between AR2 Com and AR12 .net. You can’t compare every property of AR2 Com with AR12 .net. AR12 provide the vast feature then AR2 Com. Hence, there is lots of code change in AR12 to support the new features. Also, they are both based on different technology.
You could see the property value description of “TextAngle” where it clearly says that “Integer value of the text angle (1/10 degree).”
Hope it clarifies.
Thanks
Posted 24 July 2018, 1:04 am EST
You could see the property value description of “TextAngle” in AR2 COM Documentation where it clearly says that
“Note: Units are in 1/10 of a degree. For example, 900 units = 90 degrees clock-wise.”
In AR2 when I set to “TextAngle” 900 units it returns 900 units.
In AR12 when I set to “TextAngle” 900 units it returns 90 units.
There is not difference between AR2 Com and AR12 .net. There is bug in AR12
“TextAngle” when returns value.
Posted 26 July 2018, 4:51 am EST
Hello Ilia,
Sorry for confusion and delay!
I misunderstand initially. I have escalated this to our developer team(case ID 261285) and will inform you once I get any information from them.
Thanks,