|
Rank: Member Groups: Member
Joined: 10/3/2014 Posts: 14
|
Hi, I've been trying to determine the orientation being printed and would like to do this via the javascript interface you provide. The problem is I haven't been able to find a full list of what is available, i.e. an API. I've had a look at the documentation provided and all I could find was how to get the version number.
Thanks in advance
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
Which product are you referring?
Thanks!
|
|
Rank: Member Groups: Member
Joined: 10/3/2014 Posts: 14
|
Apologies, EO.PDF (HTML 2 PDF)
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
No. There is no way for you to do that with EO.Pdf. The default paper size is letter size. If you wish to change it or change the orientation, you must set HtmlToPdf.Options.PageSize before the conversion (landscape orientation is just a different paper size). There is no way to change that mid way.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 10/3/2014 Posts: 14
|
Hi, thanks for the response. I do not wish to change it, I just want to find out what it has been set to, preferably using a similar method to getVersion().
Thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
No. That does not exist either. The only two methods currently supported are getVersion() and convert().
Thanks!
|
|
Rank: Member Groups: Member
Joined: 10/3/2014 Posts: 14
|
OK thanks for your help
|
|