Textbox Rotation Angles

1 Answer 46 Views
Report Designer - Web Report Designer (standalone)
Jason
Top achievements
Rank 1
Jason asked on 15 Jan 2024, 10:41 AM

When ever I rotate the textbox angle within (90,180,270), this work. 

I have  a problem dealing with angles like ( 315),  the text is always wrapped to the next line regardless of the size of the textbox and number of characters of the textbox value .  So for example, "Etzebeth Thomas" is shown as "Etze" first line and the rest disappear or get displayed within the second line and so forth. 

Look at the below picture

 

This looks like an old issue based on the below post.

https://www.telerik.com/forums/textbox-rotate-angles

 

Any help ?

 

Thanks in advanced.

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 18 Jan 2024, 08:50 AM

Hello Jason,

Thank you for the provided information!

Unfortunately, the problem with the text wrapping in certain angles is still present and there is no workaround using the TextBox item.

The only workaround that I can think of is to create a user function where the rotated text is drawn as an image and then that image is returned at the end of the function, which should be called on the Value property of a PictureBox item.

For reference on how to draw rotated text, you may check out the .net - Drawing a Rotated Text to an Image in C# - Stack Overflow thread.

I hope this will help.

Regards,
Dimitar
Progress Telerik

Stay tuned by visiting our roadmap and feedback portal pages, enjoy a smooth take-off with our Getting Started resources, or visit the free self-paced technical training at https://learn.telerik.com/.
Tags
Report Designer - Web Report Designer (standalone)
Asked by
Jason
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or