I am making a windows application. I have written the code for printing the active mdi child using PrintForm in c#. The problem is that my forms are big so they do not come fully on the screen i.e. they are scrollable. Now when I print the form, I do get the full form. I also used the scrollable but its no use.
The code is:
if (this.ActiveMdiChild == null)
{
return;
}
printForm1.Form = this.ActiveMdiChild;
printForm1.PrintAction = System.Drawing.Printing.PrintAction.PrintToPrinter;
//printForm1.Print();
printForm1.Print(this, PrintForm.PrintOption.Scrollable);
Can someone help me and tell me how to get the full form along with the data. Please don't tell to capture the screenshot as the form is scrollable.