Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
230
Print the entire content of all the controls in a form
posted

Hello, 

I have a form with multiple controls on it. The text control is scrollable field which contains 10 or more lines of data . Currently when I print (WYSIWUG format) , I can only view 4 lines of 10 (since the other lines are not visible unless the user scrolls the text area ). I would like to extend the print  functionality (to see more than WYSIWU) so that I can resize the control at runtime and accordingly resize all the other controls for printpreview.

I have attached a detailed image from our main project. If you notice the image, the description field does not contain all of the data.

I am looking for ways to extending the printing so that it would pull all the data from the controls without any overlap for print.

Any new approach for achieving this will also help. 

Thanks

 

Print image.rar
  • 469350
    Offline posted

    Hi,

    I'm not sure I understand your question.

    There are a couple of ways you could acheive what you want. One way would be to use the Infragistics.Documents engine to create a report that contains all of the data you want to print.

    Another option is to handle the printing yourself by handling the PrintPage method on the UltraPrintDocument class.

    But both of these methods require you to write some code. There's no way that any of the components in NetAdvantage can print the contents of all controls on a form for you, since there are too many unknowns.