|
FoxitPDFSDKforWeb v12.0.0
Foxit PDF SDK for Web
|
Facing page view mode: displays pages side by side in a spread (default 2 per row), and switches one spread at a time. More...
Static Public Member Functions | |
| static | extend (name:string, pagesPerRow:number) |
| Creates a FacingPageViewMode subclass with a custom name and pages-per-row. More... | |
| static | getName () |
| Facing page mode name. More... | |
Static Public Member Functions inherited from IViewMode | |
| static | getName () |
| The name of the view mode, also a unique identifier. More... | |
Additional Inherited Members | |
Public Member Functions inherited from IViewMode | |
| constructor (docRender) | |
| Constructs a view mode instance. More... | |
| getCurrentPageIndex () | |
| Obtains the current page index. More... | |
| getDeviceCurrentPosition () | |
| Device offset of the viewport top-left relative to the page under that point. More... | |
| getFitHeight (index) | |
| Get the fit height. More... | |
| getFitWidth (index) | |
| Get the fit width. More... | |
| getNextPageIndex () | |
| Obtains the next page index. More... | |
| getPrevPageIndex () | |
| Obtains the previous page index. More... | |
| getVisibleIndexes () | |
| Gets the index of the visible page. More... | |
| into (pageContainer, pageDOMs, currentPageIndex=0) | |
| Switch to this layout. More... | |
| jumpToPage (index, {x=0, y=0}) | |
| Control how to jump to the page in this view mode. More... | |
| out () | |
| Exit this layout. | |
| renderViewMode (pageRender, scale, rotate, width, height) | |
| The method that fires before drawing the outer frame of a page. More... | |
Facing page view mode: displays pages side by side in a spread (default 2 per row), and switches one spread at a time.
|
inlinestatic |
Creates a FacingPageViewMode subclass with a custom name and pages-per-row.
| name | string - Unique view mode name for register / switchTo. |
| pagesPerRow | number - Pages displayed side-by-side in each spread. |
|
inlinestatic |
Facing page mode name.