Settings to Potrait or Landscape (Page Orientation)

13 views
Skip to first unread message

nagara...@gmail.com

unread,
Nov 20, 2018, 7:27:40 PM11/20/18
to JExcel Forum
Hello,

Using JExcel to produce Excel reports. We have 2 options to preset the Printer Properties such as Page Orientation.
So if i select option as Landscape then the sheet should preset its Printer properties and Page Orientation to Landscape and so on.

I am using this :

WorsheetObject.setPageSetup(CSharpJExcel.Jxl.Format.PageOrientation.LANDSCAPE)

It works fine for many of the reports but couple of those it does not work. Whatever option i set and create Excel its Default Printer property Page Orienation always sets to Portrait and manually user has to change it.


Any suggestions please.

Thanks.
Abhilash

Nataliya Rybynok

unread,
Nov 21, 2018, 9:22:49 AM11/21/18
to nagara...@gmail.com, jexcel...@teamdev.com
Hello Abhilash,

The WritableSheet.setPageSetup is a part of JExcelAPI. JExcel and JExcelAPI are completely different products.

If you are using JExcelAPI, you should address your question on the forums related to the JExcelAPI product.

Sincerely,
Nataliya Rybynok

Customer Service Manager | TeamDev, Ltd.
Phone +380 57 766-4300
teamdev.com

--
You received this message because you are subscribed to the Google Groups "JExcel Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jexcel-forum...@teamdev.com.
To view this discussion on the web visit https://groups.google.com/a/teamdev.com/d/msgid/jexcel-forum/53e6da84-b0bb-44c4-864d-3caa02305795%40teamdev.com.
Reply all
Reply to author
Forward
0 new messages