Foxit PDF SDK
fsdk.TaggedPDFCallback Class Reference

Public Member Functions

def Release ()
 A callback function used to release current callback object itself.
More...
 
def Report (category, confidence, page_index, rect)
 A callback function used to get the tagged PDF document result information, triggered when the document will be tagged.
More...
 

Detailed Description

This class represents a callback object used to tag PDF document. All the pure virtual functions in this class are used as callback functions and should be implemented by user in derived class. User can also re-write the virtual functions in this class in custom way.

Member Function Documentation

◆ Release()

def fsdk.TaggedPDFCallback.Release ( )

A callback function used to release current callback object itself.

Returns
None.

◆ Report()

def fsdk.TaggedPDFCallback.Report (   category,
  confidence,
  page_index,
  rect 
)

A callback function used to get the tagged PDF document result information, triggered when the document will be tagged.

This function is very useful for user to get the tagged PDF document result information.

Parameters
[in]categoryThe report category for tagged PDF. Please refer to values starting from fsdk.TaggedPDFCallbackE_ReportCategoryRegion and this would be one of these values.
[in]confidenceThe report confidence for tagged PDF. Please refer to values starting from fsdk.TaggedPDFCallbackE_ReportConfidenceHigh and this would be one of these values.
[in]page_indexThe page index of current report item belongs to.
[in]rectThe rectangle of current report item.
Returns
None.