Example #1
0
 private void ZoomControl(ReportCtrl rc, float coefficent)
 {
     rc.Width    = (int)(rc.ReportItem.Bounds.Width * coefficent);
     rc.Height   = (int)(rc.ReportItem.Bounds.Height * coefficent);
     rc.Location = new Point((int)(rc.ReportItem.Bounds.Location.X * coefficent),
                             (int)(rc.ReportItem.Bounds.Location.Y * coefficent));
     rc.Scale(report.Factor / 100);
 }