FoxitPDFSDKforWeb
v10.0.0
Foxit PDF SDK for Web
|
View Mode Manager
The default contains the following two viewmode
continuous-view-mode: Continuous page mode
single-page-view-mode: Single page mode.
More...
Public Member Functions | |
get (name=ContinuousViewMode.getName()) | |
Get view mode by name. More... | |
getAll () | |
Gets all view modes. More... | |
getCurrentViewMode () | |
Get current view mode. More... | |
register (ViewMode) | |
Reigster view mode. More... | |
set (name) | |
Just set the value, will not cause refreshing. | |
switchTo (name) | |
Switch to view mode by name. More... | |
View Mode Manager
The default contains the following two viewmode
continuous-view-mode: Continuous page mode
single-page-view-mode: Single page mode.
|
inline |
Get view mode by name.
name | string - 'continuous-view-mode' |
|
inline |
Gets all view modes.
|
inline |
Get current view mode.
|
inline |
Reigster view mode.
ViewMode | IViewMode |
|
inline |
Switch to view mode by name.
name | string - 'continuous-view-mode' View pages continuously with scrolling enabled 'multipage-view-mode' View pages side-by-side with continuous scrolling enabled |