daily pastebin goal
64%
SHARE
TWEET

Untitled

a guest Mar 18th, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DGVPrinter printer = new DGVPrinter();
  2.             printer.Title = "Reporte de Personal";
  3.             printer.SubTitle = string.Format("Fecha:{0} ", DateTime.Now.Date.ToString("dd/MM/yyyy"));
  4.  
  5.             printer.SubTitleFormatFlags = StringFormatFlags.LineLimit;
  6.             printer.PageNumberInHeader = false;
  7.             printer.PorportionalColumns = true;
  8.             printer.ColumnWidth = DGVPrinter.ColumnWidthSetting.Porportional;
  9.             printer.HeaderCellAlignment = StringAlignment.Near;
  10.             printer.Footer = "Informe de Personal x FP";
  11.             printer.FooterSpacing = 15;
  12.             printer.printDocument.DefaultPageSettings.Landscape = true;
  13.  
  14.             printer.RowHeight = DGVPrinter.RowHeightSetting.CellHeight;
  15.  
  16.  
  17.             printer.PrintDataGridView(dataGridViewEmp);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top