This is a migrated thread and some comments may be shown as answers.

righttoleft header_right

4 Answers 29 Views
GridView
This is a migrated thread and some comments may be shown as answers.
amir
Top achievements
Rank 1
amir asked on 02 Mar 2016, 12:15 PM
hi want show text with right to left in rad print document please help me.

4 Answers, 1 is accepted

Sort by
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
Dess | Tech Support Engineer, Principal
Telerik team
answered on 02 Mar 2016, 12:44 PM
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
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
Dess | Tech Support Engineer, Principal
Telerik team
answered on 02 Mar 2016, 02:14 PM
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
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
Tags
GridView
Asked by
amir
Top achievements
Rank 1
Answers by
amir
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or