Foxit PDF SDK  9.1
com.foxit.uiextensions.annots.IGroupEventListener Interface Reference

Public Member Functions

void onAnnotGrouped (PDFPage page, List< Annot > groupAnnots)
 
void onAnnotUnGrouped (PDFPage page, List< Annot > unGroupAnnots)
 

Detailed Description

interface definition for a callback to be invoked when group or ungroup annotations.

Member Function Documentation

◆ onAnnotGrouped()

void com.foxit.uiextensions.annots.IGroupEventListener.onAnnotGrouped ( PDFPage  page,
List< Annot groupAnnots 
)

Called when group annotations.

Parameters
pageThe PDFPage which group annotations.
groupAnnotsAn array of Markup objects that specifies markup annotations which are to be grouped together. This array should contains at least 2 markup annotations, and all the markup annotations in this array should be different from others. All the markup annotations in this array should be in current page.

◆ onAnnotUnGrouped()

void com.foxit.uiextensions.annots.IGroupEventListener.onAnnotUnGrouped ( PDFPage  page,
List< Annot unGroupAnnots 
)

Called when ungroup annotations.

Parameters
pageThe PDFPage which group annotations.
unGroupAnnotsAn array of markup objects to be ungrouped.