FoxitPDFSDKforWeb v12.0.0
Foxit PDF SDK for Web
SinglePageViewMode Class Reference

Single page view mode: displays one page at a time. More...

Inheritance diagram for SinglePageViewMode:
FacingPageViewMode IViewMode

Static Public Member Functions

static getName ()
 Single page mode name. More...
 
- Static Public Member Functions inherited from FacingPageViewMode
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...
 

Detailed Description

Single page view mode: displays one page at a time.

Since
12.0.0

Member Function Documentation

◆ getName()

static SinglePageViewMode::getName ( )
inlinestatic

Single page mode name.

Returns
string

Foxit Software Corporation Logo
@2026 Foxit Software Incorporated. All rights reserved.