righttoleft header_right

5 posts, 0 answers
  1. amir
    amir avatar
    6 posts
    Member since:
    Mar 2016

    Posted 02 Mar Link to this post

    hi want show text with right to left in rad print document please help me.
  2. amir
    amir avatar
    6 posts
    Member since:
    Mar 2016

    Posted 02 Mar in reply to amir Link to this post

    hi. i want to show my text right to left in header of rad print document .

    please help me

  3. UI for WinForms is Visual Studio 2017 Ready
  4. Dess
    Admin
    Dess avatar
    1609 posts

    Posted 02 Mar Link to this post

    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, middle 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
  5. amir
    amir avatar
    6 posts
    Member since:
    Mar 2016

    Posted 02 Mar in reply to Dess Link to this post

    hello dess 

    i want write text with right to left formating in right_header rad print document

     

  6. Dess
    Admin
    Dess avatar
    1609 posts

    Posted 02 Mar Link to this post

    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
Back to Top
UI for WinForms is Visual Studio 2017 Ready