Hi,
I have added an customised form in opendental. Now i want to prints its data but i m struggling in printing the graphics.drawstrin in multi lines. In other words if make the print of textbox.text whole text attempts to prints in a single line so it goes out of the margins and instead of printing the whole data only one lines gets printed. Please help.
Thanks
Printing form issue
Re: Printing form issue
Hello,
I'm not sure if you mean your problem is with the textbox, or with drawing string using graphics.drawstring().
For the former, make sure you have your textbox's multiline bool set to true.
For the latter, you may pass in a rectangle object when using drawstring() to define an area that the text should wrap to.
https://msdn.microsoft.com/en-us/librar ... .110).aspx
Hope this helps.
I'm not sure if you mean your problem is with the textbox, or with drawing string using graphics.drawstring().
For the former, make sure you have your textbox's multiline bool set to true.
For the latter, you may pass in a rectangle object when using drawstring() to define an area that the text should wrap to.
https://msdn.microsoft.com/en-us/librar ... .110).aspx
Hope this helps.
Programmer (n.): A machine that turns coffee into code.
Andrew Jansen
Open Dental Software
Software Engineer
andrew@opendental.com
503-363-5432
Andrew Jansen
Open Dental Software
Software Engineer
andrew@opendental.com
503-363-5432
-
- Posts: 39
- Joined: Mon Jun 16, 2014 7:33 am
Re: Printing form issue
Thanks for the Reply, My issue got solved now.
Query
I want to print the statement from the account module on my letterhead, i m not getting any option to set the margins for statement and treatment plan. Please Help
Thank You
Query
I want to print the statement from the account module on my letterhead, i m not getting any option to set the margins for statement and treatment plan. Please Help
Thank You
-
- Posts: 64
- Joined: Thu Aug 20, 2015 11:08 am
Re: Printing form issue
Hello,
Regarding your last questions, are you printing using sheets or the default statement configuration?
Regarding your last questions, are you printing using sheets or the default statement configuration?
-
- Posts: 39
- Joined: Mon Jun 16, 2014 7:33 am
Re: Printing form issue
Hi I m using the version in that versions i have the only option to print in the default statement. Customization of the statement sheet is not possible in this Version.
Thank You
Thank You
Re: Printing form issue
The functionality to use the sheets framework for statements was added in 15.1
Entropy isn't what it used to be...
Arna Meyer
Arna Meyer
-
- Posts: 64
- Joined: Thu Aug 20, 2015 11:08 am
Re: Printing form issue
Yes as Arna said in 15.1 you can use sheets which you could then customize the layout of a statement. Are you able to update?