Foxit PDF Conversion SDK
foxit.conversion.pdf2office.ConvertCallback Class Reference

Inherits SystemIDisposable.

Public Member Functions

virtual bool NeedToPause ()
 A callback function used to pause the current conversion progress. More...
 
virtual void ProgressNotify (int converted_count, int total_count)
 A callback function used to notify the current conversion progress. More...
 

Detailed Description

This class represents a callback object used to pause and notify the conversion progress during the converting process. All the pure virtual functions in this class are used as callback functions and should be implemented by user.

Member Function Documentation

◆ NeedToPause()

bool foxit.conversion.pdf2office.ConvertCallback.NeedToPause ( )
inlinevirtual

A callback function used to pause the current conversion progress.

Returns
true means to pause now, while false means not to pause now.

◆ ProgressNotify()

void foxit.conversion.pdf2office.ConvertCallback.ProgressNotify ( int  converted_count,
int  total_count 
)
inlinevirtual

A callback function used to notify the current conversion progress.

Parameters
[in]converted_countThe converted page count.
[in]total_countThe total page count.
Returns
None.