Quantcast
Channel: EPPlus Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 2262

Commented Issue: PrinterSettings error [13502]

$
0
0
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..

Viewing all articles
Browse latest Browse all 2262

Trending Articles