4 Answers, 1 is accepted
0
amir
Top achievements
Rank 1
answered on 02 Mar 2016, 12:19 PM
hi. i want to show my text right to left in header of rad print document .
please help me
0
Hello Amir,
Thank you for writing.
When you print a RightToLeft RadGridView, the cells will be right aligned as well. If you need to customize the print cells, you can use the PrintCellFormatting event. Additional information is available here: http://docs.telerik.com/devtools/winforms/gridview/printing-support/events-and-customization.html
Note that you can specify left, and right header for the RadPrintDocument. Hence, if you need to display a header to the right, just set the RadPrintDocument.RightHeader property.
I hope this information helps. Should you have further questions I would be glad to help.
Regards,
Dess
Telerik
Thank you for writing.
When you print a RightToLeft RadGridView, the cells will be right aligned as well. If you need to customize the print cells, you can use the PrintCellFormatting event. Additional information is available here: http://docs.telerik.com/devtools/winforms/gridview/printing-support/events-and-customization.html
Note that you can specify left, and right header for the RadPrintDocument. Hence, if you need to display a header to the right, just set the RadPrintDocument.RightHeader property.
I hope this information helps. Should you have further questions I would be glad to help.
Dess
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
amir
Top achievements
Rank 1
answered on 02 Mar 2016, 12:57 PM
hello dess
i want write text with right to left formating in right_header rad print document
0
Hello Amir,
Thank you for writing back.
You can refer to the following help article which demonstrates how you can control the elements rendering in RadPrintDocument. In the PrintHeader method, you can draw the string in the desired format by using the Graphics.DrawString method: http://docs.telerik.com/devtools/winforms/telerik-presentation-framework/printing-support/how-to/customize-radprintdocument
I hope this information helps. If you have any additional questions, please let me know.
Regards,
Dess
Telerik
Thank you for writing back.
You can refer to the following help article which demonstrates how you can control the elements rendering in RadPrintDocument. In the PrintHeader method, you can draw the string in the desired format by using the Graphics.DrawString method: http://docs.telerik.com/devtools/winforms/telerik-presentation-framework/printing-support/how-to/customize-radprintdocument
I hope this information helps. If you have any additional questions, please let me know.
Regards,
Dess
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items