Foxit PDF SDK for HarmonyOS  3.0
FoxitPDFViewCtrl.IPDFLayoutEventListener Class Reference

Public Member Functions

 onLayoutContinuityChanged (origin, present)
 
 onLayoutModeChanged (origin, present)
 
 onLayoutRotationChanged (origin, present)
 

Detailed Description

页面布局事件监听接口

Member Function Documentation

◆ onLayoutContinuityChanged()

FoxitPDFViewCtrl.IPDFLayoutEventListener.onLayoutContinuityChanged ( origin  ,
present   
)

当页面连续滚动模式变更时触发 连续模式表示垂直连续滚动,非连续模式表示水平分页滚动

Parameters
origin原始状态 true - 连续模式(垂直滚动) false - 非连续模式(水平分页)
present当前状态

◆ onLayoutModeChanged()

FoxitPDFViewCtrl.IPDFLayoutEventListener.onLayoutModeChanged ( origin  ,
present   
)

当页面布局模式变更时触发

Parameters
origin原始布局模式
present当前布局模式

◆ onLayoutRotationChanged()

FoxitPDFViewCtrl.IPDFLayoutEventListener.onLayoutRotationChanged ( origin  ,
present   
)

当页面旋转角度变更时触发 请参考以 FoxitRDKNative.common.e_Rotation0 开头的枚举值

Parameters
origin原始旋转角度(单位:度)
present当前旋转角度(单位:度)