Foxit PDF SDK

Public Member Functions | List of all members
foxit.addon.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.addon.conversion.pdf2office.ConvertCallback.NeedToPause | ( |  | ) |
| inline virtual

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.addon.conversion.pdf2office.ConvertCallback.ProgressNotify | ( | int | converted_count,
|  | int | total_count
| ) |  |
| inline virtual

A callback function used to notify the current conversion progress.

Parameters

  [in] | converted_count | The converted page count.
  [in] | total_count | The total page count.

Returns
  None.