FoxitPDFSDKforWeb v10.0.0
Foxit PDF SDK for Web
ActionCallback Interface Reference

An interface represents a action callback class for performing PDF actions. Users can implement only part of the callbacks according to actual requirements. More...

Public Member Functions

number alert (options)
 A callback function used to pop up a dialog to show warnings or hints. This callback function is optional, so it can not be overrided. More...
 
 constructor (app, pdfViewer)
 

Detailed Description

An interface represents a action callback class for performing PDF actions. Users can implement only part of the callbacks according to actual requirements.

Since
7.6.0
See also
PDFViewer.setActionCallback

Member Function Documentation

◆ alert()

number ActionCallback::alert ( options  )

A callback function used to pop up a dialog to show warnings or hints. This callback function is optional, so it can not be overrided.

Parameters
optionsAlertOptions
Returns
number - The return value should be one of following values:
  • 1: OK;
  • 2: Cancel;
  • 3: NO;
  • 4: Yes;

◆ constructor()

ActionCallback::constructor ( app  ,
pdfViewer   
)
Parameters
appobject internal app object
pdfViewerPDFViewer

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