innerDocWindowRect needed  SOLVED

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
AnKeilha
User
Posts: 63
Joined: Fri Apr 27, 2018 11:17 am

innerDocWindowRect needed

Post by AnKeilha »

Hello everyone,
we are still using the (old/discontinued) PDFXChange viewer in our system and are currently in the process of migrating to the new PDF-XChange Editor. Using the old API, we could execute the following JavaScript to find out the area available to display documents:

var result = " ";for (var key in this.innerDocWindowRect) {result = result + key + "=" + this.innerDocWindowRect[key]+ " "; };result;

Is this still possible with the new API? We would need the complete rectangle information, i.e. its width/height as well as its position.

Thank you very much in advance.
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17823
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: innerDocWindowRect needed  SOLVED

Post by Tracker Supp-Stefan »

Hello again AnKeilha,

Yes - any JS code that worked in the Viewer AX should work in the Editor SDK as well!

Regards,
Stefan
Post Reply