UI() |
void |
Generates an empty user interface of the viewer. User can now open a file. |
IsLoaded() |
boolean |
Check if a file has been loaded successfully. |
Loading(show) |
void |
Show or hide a loading status / animation in the viewer. |
VisiblePages() |
string[] |
Get back currently visible pages in the viewer. |
Refit() |
void |
Call to refit / resize all viewer elements if there is any change in UI. |
FullScreen() |
void |
Toggle full screen mode. |
Language(json) |
void |
Change the viewer's language by passing an instance of language JSON document. |
LanguageFile(fileName) |
void |
Change the viewer's language by passing a language JSON file name. |
Theme(json) |
void |
Change the viewer's theme by passing an instance of theme JSON document. |
ThemeFile(fileName) |
void |
Change the viewer's theme by passing a theme JSON file name. |