thebatfink
Well-known member
- Joined
- Mar 29, 2012
- Messages
- 47
- Programming Experience
- Beginner
Hi!
I'm using the code here - How to: Print a Windows Form to achieve printing of my form. It works well except for its chopping the bottom of my form off.
I can understand why this is happening, but not how to change its behaviour.
My app has a main parent form and all other forms (the ones I am printing) open inside this form as a child. The code on the msdn is obviously looking for the x y coordinates to get the position and size of my form. Its getting the correct size (ie the size of the child form) but its using the position of the main form..
Anyone have any suggestions for modifying the code?
Thanks!
Batfink
I'm using the code here - How to: Print a Windows Form to achieve printing of my form. It works well except for its chopping the bottom of my form off.
I can understand why this is happening, but not how to change its behaviour.
My app has a main parent form and all other forms (the ones I am printing) open inside this form as a child. The code on the msdn is obviously looking for the x y coordinates to get the position and size of my form. Its getting the correct size (ie the size of the child form) but its using the position of the main form..
Anyone have any suggestions for modifying the code?
Thanks!
Batfink