Modify Form Fields Before Printing
Certain form fields properties may need slight adjustment before printing. The BeforePrint event will be raised before the form is sent to the printer. Field properties like width, height, x y positions etc can be modified.
CMS1500Form cmsForm = new CMS1500Form();
cmsForm.BeforePrint += cmsForm_BeforePrint;
private void cmsForm_BeforePrint(object sender, FormEventArgs e)
//e.Cells has all fields that will be send to printer.
//The field properties can be modified
e.Cells.X = 12;
e.Cells.Y = 13;
e.Cells.Width = 3;
e.Cells.Height = 0.5;