Show / Hide Table of Contents

Interface ToolManager.ITool

Namespace: pdftron.PDF.Tools
Assembly: PDFViewCtrlTools.dll
Syntax
public interface ITool

Properties

CreateAnnotType

Declaration
int CreateAnnotType { get; }
Property Value
Type Description
System.Int32

IsCreatingAnnotation

Declaration
bool IsCreatingAnnotation { get; }
Property Value
Type Description
System.Boolean

NextToolMode

Declaration
ToolManager.IToolModeBase NextToolMode { get; }
Property Value
Type Description
ToolManager.IToolModeBase

ToolMode

Declaration
ToolManager.IToolModeBase ToolMode { get; }
Property Value
Type Description
ToolManager.IToolModeBase

Methods

OnAnnotPainterUpdated(Int32, Int64, CurvePainter)

Declaration
void OnAnnotPainterUpdated(int page, long which, CurvePainter painter)
Parameters
Type Name Description
System.Int32 page
System.Int64 which
pdftronprivate.PDF.CurvePainter painter

OnClose()

Declaration
void OnClose()

OnConfigurationChanged(Configuration)

Declaration
void OnConfigurationChanged(Configuration newConfig)
Parameters
Type Name Description
Android.Content.Res.Configuration newConfig

OnCustomEvent(Object)

Declaration
void OnCustomEvent(Object obj)
Parameters
Type Name Description
Java.Lang.Object obj

OnDocumentDownloadEvent(PDFViewCtrl.DownloadState, Int32, Int32, Int32, String)

Declaration
void OnDocumentDownloadEvent(PDFViewCtrl.DownloadState state, int page_num, int page_downloaded, int page_count, string message)
Parameters
Type Name Description
pdftronprivate.PDF.PDFViewCtrl.DownloadState state
System.Int32 page_num
System.Int32 page_downloaded
System.Int32 page_count
System.String message

OnDoubleTap(MotionEvent)

Declaration
bool OnDoubleTap(MotionEvent e)
Parameters
Type Name Description
Android.Views.MotionEvent e
Returns
Type Description
System.Boolean

OnDoubleTapEnd(MotionEvent)

Declaration
void OnDoubleTapEnd(MotionEvent e)
Parameters
Type Name Description
Android.Views.MotionEvent e

OnDoubleTapEvent(MotionEvent)

Declaration
bool OnDoubleTapEvent(MotionEvent e)
Parameters
Type Name Description
Android.Views.MotionEvent e
Returns
Type Description
System.Boolean

OnDoubleTapZoomAnimationBegin()

Declaration
void OnDoubleTapZoomAnimationBegin()

OnDoubleTapZoomAnimationEnd()

Declaration
void OnDoubleTapZoomAnimationEnd()

OnDown(MotionEvent)

Declaration
bool OnDown(MotionEvent e)
Parameters
Type Name Description
Android.Views.MotionEvent e
Returns
Type Description
System.Boolean

OnDraw(Canvas, Matrix)

Declaration
void OnDraw(Canvas canvas, Matrix tfm)
Parameters
Type Name Description
Android.Graphics.Canvas canvas
Android.Graphics.Matrix tfm

OnDrawEdgeEffects(Canvas, Int32, Int32)

Declaration
bool OnDrawEdgeEffects(Canvas canvas, int width, int verticalOffset)
Parameters
Type Name Description
Android.Graphics.Canvas canvas
System.Int32 width
System.Int32 verticalOffset
Returns
Type Description
System.Boolean

OnFlingStop()

Declaration
bool OnFlingStop()
Returns
Type Description
System.Boolean

OnKeyUp(Int32, KeyEvent)

Declaration
bool OnKeyUp(int keyCode, KeyEvent e)
Parameters
Type Name Description
System.Int32 keyCode
Android.Views.KeyEvent e
Returns
Type Description
System.Boolean

OnLayout(Boolean, Int32, Int32, Int32, Int32)

Declaration
void OnLayout(bool changed, int l, int t, int r, int b)
Parameters
Type Name Description
System.Boolean changed
System.Int32 l
System.Int32 t
System.Int32 r
System.Int32 b

OnLongPress(MotionEvent)

Declaration
bool OnLongPress(MotionEvent e)
Parameters
Type Name Description
Android.Views.MotionEvent e
Returns
Type Description
System.Boolean

OnMove(MotionEvent, MotionEvent, Single, Single)

Declaration
bool OnMove(MotionEvent e1, MotionEvent e2, float x_dist, float y_dist)
Parameters
Type Name Description
Android.Views.MotionEvent e1
Android.Views.MotionEvent e2
System.Single x_dist
System.Single y_dist
Returns
Type Description
System.Boolean

OnNightModeUpdated(Boolean)

Declaration
void OnNightModeUpdated(bool isNightMode)
Parameters
Type Name Description
System.Boolean isNightMode

OnPageTurning(Int32, Int32)

Declaration
void OnPageTurning(int old_page, int cur_page)
Parameters
Type Name Description
System.Int32 old_page
System.Int32 cur_page

OnPointerDown(MotionEvent)

Declaration
bool OnPointerDown(MotionEvent e)
Parameters
Type Name Description
Android.Views.MotionEvent e
Returns
Type Description
System.Boolean

OnPostSingleTapConfirmed()

Declaration
void OnPostSingleTapConfirmed()

OnPullEdgeEffects(Int32, Single)

Declaration
void OnPullEdgeEffects(int which_edge, float delta_distance)
Parameters
Type Name Description
System.Int32 which_edge
System.Single delta_distance

OnReleaseEdgeEffects()

Declaration
void OnReleaseEdgeEffects()

OnRenderingFinished()

Declaration
void OnRenderingFinished()

OnScale(Single, Single)

Declaration
bool OnScale(float x, float y)
Parameters
Type Name Description
System.Single x
System.Single y
Returns
Type Description
System.Boolean

OnScaleBegin(Single, Single)

Declaration
bool OnScaleBegin(float x, float y)
Parameters
Type Name Description
System.Single x
System.Single y
Returns
Type Description
System.Boolean

OnScaleEnd(Single, Single)

Declaration
bool OnScaleEnd(float x, float y)
Parameters
Type Name Description
System.Single x
System.Single y
Returns
Type Description
System.Boolean

OnScrollChanged(Int32, Int32, Int32, Int32)

Declaration
void OnScrollChanged(int l, int t, int oldl, int oldt)
Parameters
Type Name Description
System.Int32 l
System.Int32 t
System.Int32 oldl
System.Int32 oldt

OnSetDoc()

Declaration
void OnSetDoc()

OnShowPress(MotionEvent)

Declaration
bool OnShowPress(MotionEvent e)
Parameters
Type Name Description
Android.Views.MotionEvent e
Returns
Type Description
System.Boolean

OnSingleTapConfirmed(MotionEvent)

Declaration
bool OnSingleTapConfirmed(MotionEvent e)
Parameters
Type Name Description
Android.Views.MotionEvent e
Returns
Type Description
System.Boolean

OnSingleTapUp(MotionEvent)

Declaration
bool OnSingleTapUp(MotionEvent e)
Parameters
Type Name Description
Android.Views.MotionEvent e
Returns
Type Description
System.Boolean

OnUp(MotionEvent, PDFViewCtrl.PriorEventType)

Declaration
bool OnUp(MotionEvent e, PDFViewCtrl.PriorEventType priorEventMode)
Parameters
Type Name Description
Android.Views.MotionEvent e
pdftronprivate.PDF.PDFViewCtrl.PriorEventType priorEventMode
Returns
Type Description
System.Boolean
In This Article
Back to top Generated by DocFX