0

I'm using NPOI 1.2.5 with C# to generate some worksheet.

I need to set my sheet "Scaling mode" to "Reduce/enlarge printout" (see the last option of this LibreOffice screenshot)

LibreOffice

No matter how hard I try, my generated sheet always have "Fit print rage..."

LibreOffice2

I'm stuck on this problem since the last summer, so any help is really appreciated.

Thanks!

1 Answers1

0

myWorksheet.FitToPage = false; did the trick!