Hi !
I have an error when I open the file with this lines :
sheet.PrinterSettings.RepeatColumns = sheet.Cells["A:B"];
sheet.PrinterSettings.RepeatRows = sheet.Cells["1:11"];
sheet.PrinterSettings.TopMargin = 2.5M;
sheet.PrinterSettings.LeftMargin = 2.5M;
sheet.PrinterSettings.BottomMargin = 2.5M;
sheet.PrinterSettings.RightMargin = 2.5M;
sheet.PrinterSettings.Orientation = eOrientation.Landscape;
sheet.PrinterSettings.PaperSize = ePaperSize.A4;
Did I forget something ?
Actually it works without the margin, the orientation and the paper size but I would like to integrate all these elements in the same sheet.
Thank you in advance for your answers!
Nicolas
Comments: Strike that, an old problem that resurfaced because I somehow turned on breakpoints on "Throwing" just ArgumentException..
I have an error when I open the file with this lines :
sheet.PrinterSettings.RepeatColumns = sheet.Cells["A:B"];
sheet.PrinterSettings.RepeatRows = sheet.Cells["1:11"];
sheet.PrinterSettings.TopMargin = 2.5M;
sheet.PrinterSettings.LeftMargin = 2.5M;
sheet.PrinterSettings.BottomMargin = 2.5M;
sheet.PrinterSettings.RightMargin = 2.5M;
sheet.PrinterSettings.Orientation = eOrientation.Landscape;
sheet.PrinterSettings.PaperSize = ePaperSize.A4;
Did I forget something ?
Actually it works without the margin, the orientation and the paper size but I would like to integrate all these elements in the same sheet.
Thank you in advance for your answers!
Nicolas
Comments: Strike that, an old problem that resurfaced because I somehow turned on breakpoints on "Throwing" just ArgumentException..