【Foxit PDF SDK】福昕GSDK如何获取页面中的标记内容以及tag的名称?

请参考以下代码:

ong position = page.getFirstGraphicsObjectPosition(e_TypeText);

GraphicsObject text_obj = page.getGraphicsObject(position);

MarkedContent content = text_obj.getMarkedContent();

int nCount = content.getItemCount();

//获取标记内容属性

for (int i = 0; i < nCount; i++) {

String tag_name = content.getItemTagName(i);

int mcid = content.getItemMCID(i);

}