3
Answers

printing multiple pages of a c# form

babar.rao

babar.rao

20y
6.1k
1
Can anyone pease tell me how to print multiple pages of a c# form? I have a c# windows form with a panel control that has many controls (text boxes, labels, radio buttons, etc.) on it. If I try to print the panel I only get the first page printed wich is 30% of the panel. I will greatly appreciate if someone can tell me how to print the entire panel and not just the first page. I have tried the hasmorepages property wihtout any success.
Answers (3)
0
Peter

Peter

NA 4 0 15y
That much I know.  My question is, why one PC converts 1 to string and gets "1" and the other does the same thing and gets "1.0"?
0
Manish Dwivedi

Manish Dwivedi

NA 8.3k 1.2m 15y
Hi

This is happening due to this res = "1.0" {string} while converting.

because you are using int.TryParse so u have to pass the values like 1,2,123,10 etc in the res parameter.

I think u got it.
Next Recommended Forum