Hello,
we are using PDF-XChange Editor Plus SDK Version 10.1.1 (build 381). For one of our features we need the innerDocWindowRect, which we fetch via Javascript.
This works quite well, but apparently the rectangle returned does not take into account the navigation-bar at the bottom. This means, for the example ...
... the complete area marked in yellow is returned, which is a bit too much at the bottom.
Best regards,
Andreas
innerDocWindowRect includes bar at the bottom
Moderators: Daniel - PDF-XChange, PDF-XChange Support, Vasyl - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
- Stefan - PDF-XChange
- Site Admin
- Posts: 19794
- Joined: Mon Jan 12, 2009 8:07 am
- Contact:
Re: innerDocWindowRect includes bar at the bottom
Hello Andreas,
Can you please try with build 390 (the current latest) - does it return a different value?
(You can download a portable copy of the end user Editor to try running the JS in).
I presume it would still return the same - as technically the bottom title bar can be collapsed and that would leave more rendering space - and that bar is inside the indderDoc window:
This rectangle does not include items such as the title bar and resizing border, which are part of the outer
rectangle of the document window.
I will check with our devs if they think this can be imroved.
Kind regards,
Stefan
Can you please try with build 390 (the current latest) - does it return a different value?
(You can download a portable copy of the end user Editor to try running the JS in).
I presume it would still return the same - as technically the bottom title bar can be collapsed and that would leave more rendering space - and that bar is inside the indderDoc window:
This rectangle does not include items such as the title bar and resizing border, which are part of the outer
rectangle of the document window.
I will check with our devs if they think this can be imroved.
Kind regards,
Stefan
Re: innerDocWindowRect includes bar at the bottom
Hello Stefan,
I just tried "Version 10.4.2, build 390, Portable" using the Javascript Console. The behaviour regarding the bottom bar seems to be the same.
Best regards,
Andreas
I just tried "Version 10.4.2, build 390, Portable" using the Javascript Console. The behaviour regarding the bottom bar seems to be the same.
Best regards,
Andreas
- Stefan - PDF-XChange
- Site Admin
- Posts: 19794
- Joined: Mon Jan 12, 2009 8:07 am
- Contact:
Re: innerDocWindowRect includes bar at the bottom
Hello AnKeilha,
Thanks for confirming!
I've asked one of our devs working on JS support to take a look at this and advise.
Kind regards,
Stefan
Thanks for confirming!
I've asked one of our devs working on JS support to take a look at this and advise.
Kind regards,
Stefan