FoxitPDFSDKforWeb  8.4.0
Foxit PDF SDK for Web
PDFViewCtrl

The namespace that controls the drawing and rendering of PDF. PDF is used to modifying PDF data.
In this module, without clear declaring, APIs default to be supported in both JR and SR. More...

Modules

 shared
 It's a module that contains some utility classes which encapsulates common operations such as Unit object processor.
 
 add-ons
 A module includes all PDFViewerCtrl's add-ons.
 
 collab
 
 renderers
 Please access these objects by getter functions of PDFViewer or other object instead of their constructors.
 
 stateHandler
 
 pdfjs
 
 constants
 A module includes all PDFViewerCtrl's constants.
 
 interfaces
 
 annotCompontents
 This module contains some interface types used to declare AnnotComponent, these types will be used in the callback parameter of ViewerAnnotManager.registerMatchRule to customize some behaviors.
 
 readAloud
 
 creation
 
 viewerui
 
 viewMode
 

Classes

class  ActivationGroup
 ActivationGroup class is extended from Activatable and used to implement multiple activation operations. Example:

var activatable1 = pdfViewer.getAnnotRender(0, '<annotation id 1>').getComponent();
var activatable2 = pdfViewer.getAnnotRender(0, '<annotation id 2>').getComponent();
var activatable3 = pdfViewer.getAnnotRender(0, '<annotation id 3>').getComponent();
var group = new PDFViewCtrl.ActivationGroup();
group.add(activatable1);
group.add(activatable2);
pdfViewer.activateElement(group); // both activatable1 and activatable2 are going to be activated!
group.add(activatable3); // activatable3 will also be activated!
group.remove(activatable2); // activatable2 will be unactivated!
pdfViewer.deactivateElement(group) // All activatables in group are going to be unactivated!

. More...

 
class  AnnotationAuthorityManager
 Annotation Authority manager class, It used to control the permission of each annotations in the PDF document. It can be obtained via Viewer.PDFViewer::getAnnotAuthorityManager() method. More...
 
class  AnnotationPermission
 Describes the annotation permission informations. More...
 
class  DivScrollWrap
 A basic class to create custom ScrollWrap with specified element.
I'm going to rename it from CustomScrollWrap to DivScrollWrap. More...
 
class  PDFViewer
 Use PDFViewCtrl for the entry file. More...
 
class  SnapshotServer
 Custom screenshot image storage service. More...
 
class  UserPermission
 Assist in determining the permissions of the User_Permissions. More...
 

Variables

const CustomScrollWrap = DivScrollWrap
 Refer to DivScrollWrap. More...
 

Detailed Description

The namespace that controls the drawing and rendering of PDF. PDF is used to modifying PDF data.
In this module, without clear declaring, APIs default to be supported in both JR and SR.

Variable Documentation

◆ CustomScrollWrap

const CustomScrollWrap = DivScrollWrap

Refer to DivScrollWrap.

Deprecated:
Since
7.3.0

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