FoxitPDFSDKforWeb  8.2.0
Foxit PDF SDK for Web
PrintProgressBar Interface Reference

An interface class represents a progress bar. More...

Public Member Functions

void close ()
 Hide the progress bar. This method is called when the print data is ready.
 
void show ()
 Display progress bar, and reset the progress to zero. This function will be called on printing started.
 
void updateProgress (current:number, total:number)
 Triggeres when a page data is ready for printer. The progress bar scale should be updated in thie method. More...
 

Detailed Description

An interface class represents a progress bar.

Since
7.6.0
See also
PDFViewer::print

Member Function Documentation

◆ updateProgress()

void PrintProgressBar::updateProgress ( current:number  ,
total:number   
)

Triggeres when a page data is ready for printer. The progress bar scale should be updated in thie method.

Parameters
currentnumber - The number of pages that are currently ready
totalnumber - The total number of pages to print

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