Foxit PDF SDK
<FSTaggedPDFCallback> Protocol Reference

Inherits <NSObject>.

Instance Methods

(void) - report: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 which is used during tag PDF document to allow user to get tag result info. All the pure virtual functions in this class are used as callback functions and should be implemented by user. An implemented FSTaggedPDFCallback object can be set to Foxit PDF SDK by function FSTaggedPDF::setCallback:.

See also
FSTaggedPDF

Method Documentation

◆ report:confidence:page_index:rect:()

- (void) report: (FSTaggedPDFCallbackReportCategory category
confidence: (FSTaggedPDFCallbackReportConfidence confidence
page_index: (int)  page_index
rect: (FSRectF *)  rect 
required

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 FSTaggedPDFCallbackReportCategoryRegion and this would be one of these values.
[in]confidenceThe report confidence for tagged PDF. Please refer to values starting from FSTaggedPDFCallbackReportConfidenceHigh 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.