Skip to main content

GUI_FoxitReady

Callback similar to GUI_Ready but called when Foxit is ready for interaction. Use this to perform tasks when the page loads, like opening a file on startup.

Version

(Pro version only)

Callback Parameters

  • Initdoc: string or object: The path to a file to open on startup.
Initdoc {
url: string; // URL to a file to open on startup
open: Boolean; // true if a file to open is available
custom: Boolean; // true if openFileCustom is to be used
}

Example


RxCore.GUI_FoxitReady.connect(function(Initdoc){
console.log("Foxit PDF library is ready");

});