|
FoxitPDFSDKforWeb
7.1.1
Foxit PDF SDK for Web
|
Layout of page view interface. More...
Public Member Functions | |
| getFitHeight (index) | |
| Get the fit height. More... | |
| getFitWidth (index) | |
| Get the fit width. More... | |
| getVisibleIndexes () | |
| Gets the index of the visible page. More... | |
| into () | |
| Switch to this layout. | |
| 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... | |
Static Public Member Functions | |
| static | getName () |
| The name of the view mode, also a unique identifier. More... | |
Layout of page view interface.
|
inline |
Get the fit height.
| index | {number} page index |
|
inline |
Get the fit width.
| index | {number} page index |
|
inlinestatic |
The name of the view mode, also a unique identifier.
|
inline |
Gets the index of the visible page.
|
inline |
Control how to jump to the page in this view mode.
| index | {number} - page index |
| offset | {object} - The offset in the upper left corner |
| offset.x | {number} - The X-axis offset in the upper-left corner of the page |
| offset.y | {number} - The Y-axis offset in the upper-left corner of the page |
|
inline |
The method that fires before drawing the outer frame of a page.
| pageRender | {number} PDFPageRender |
| scale | {number} page scale |
| rotate | {number} page rotation |
| width | {number} The display width of the page |
| height | {number} The display height of the page |