Show / Hide Table of Contents

Class AnnotEdit

Inheritance
System.Object
Tool
BaseTool
AnnotEdit
AnnotEditAdvancedShape
AnnotEditLine
AnnotEditRectGroup
Implements
ToolManager.ITool
Android.Text.ITextWatcher
Android.Text.INoCopySpan
AnnotStyle.IOnAnnotStyleChangeListener
DialogAnnotNote.IDialogAnnotNoteListener
InlineEditText.IInlineEditTextListener
Android.Runtime.IJavaObject
System.IDisposable
Java.Interop.IJavaPeerable
Inherited Members
BaseTool.LoupeRadius
BaseTool.LoupeSize
BaseTool.LoupeTypeMeasure
BaseTool.LoupeTypeText
BaseTool.AnimateLoupe(Boolean)
BaseTool.DrawLoupe()
BaseTool.SetLoupeInfo(Single, Single)
BaseTool.MBitmap
BaseTool.MCanvas
BaseTool.MDesRectF
BaseTool.MDrawingLoupe
BaseTool.MLoupeBBox
BaseTool.MLoupeEnabled
BaseTool.MMatrix
BaseTool.MPressedPoint
BaseTool.MSelectionLoupe
BaseTool.MSrcRectF
BaseTool.MTSWidgetRadius
BaseTool.IsDrawingLoupe
BaseTool.Matrix
Tool.AnnotationFreeTextFonts
Tool.AnnotationFreeTextJsonFont
Tool.AnnotationFreeTextJsonFontDisplayInList
Tool.AnnotationFreeTextJsonFontDisplayName
Tool.AnnotationFreeTextJsonFontFilePath
Tool.AnnotationFreeTextJsonFontName
Tool.AnnotationFreeTextJsonFontPdftronName
Tool.AnnotationFreeTextPreferenceDialog
Tool.AnnotationFreeTextPreferenceEditing
Tool.AnnotationFreeTextPreferenceEditingDefault
Tool.AnnotationFreeTextPreferenceInline
Tool.AnnotationNoteIconFilePostfixFill
Tool.AnnotationNoteIconFilePostfixOutline
Tool.AnnotationNoteIconFilePrefix
Tool.AnnotationToolbarSignatureState
Tool.AnnotPermissionFillAndSign
Tool.AnnotPermissionInteract
Tool.AnnotPermissionMenu
Tool.AnnotPermissionSelection
Tool.Flattened
Tool.FormFieldSymbolCheckbox
Tool.FormFieldSymbolCircle
Tool.FormFieldSymbolCross
Tool.FormFieldSymbolDiamond
Tool.FormFieldSymbolSquare
Tool.FormFieldSymbolStar
Tool.IsLink
Tool.Keys
Tool.LastDeviceLocaleLanguage
Tool.LinkRectf
Tool.LinkUrl
Tool.MethodFrom
Tool.PageNumber
Tool.PdftronId
Tool.PdftronThickness
Tool.PrefAnnotationCreationArrow
Tool.PrefAnnotationCreationCloud
Tool.PrefAnnotationCreationColor
Tool.PrefAnnotationCreationEraser
Tool.PrefAnnotationCreationFillColor
Tool.PrefAnnotationCreationFont
Tool.PrefAnnotationCreationFreehand
Tool.PrefAnnotationCreationFreetext
Tool.PrefAnnotationCreationFreeHighlighter
Tool.PrefAnnotationCreationHighlight
Tool.PrefAnnotationCreationIcon
Tool.PrefAnnotationCreationLine
Tool.PrefAnnotationCreationLink
Tool.PrefAnnotationCreationNote
Tool.PrefAnnotationCreationOpacity
Tool.PrefAnnotationCreationOval
Tool.PrefAnnotationCreationPolygon
Tool.PrefAnnotationCreationPolyline
Tool.PrefAnnotationCreationRectangle
Tool.PrefAnnotationCreationSignature
Tool.PrefAnnotationCreationSquiggly
Tool.PrefAnnotationCreationStrikeout
Tool.PrefAnnotationCreationTextColor
Tool.PrefAnnotationCreationTextSize
Tool.PrefAnnotationCreationThickness
Tool.PrefAnnotationCreationUnderline
Tool.PrefTranslationSourceLanguageCodeDefault
Tool.PrefTranslationSourceLanguageCodeKey
Tool.PrefTranslationTargetLanguageCodeDefault
Tool.PrefTranslationTargetLanguageCodeKey
Tool.QmMaxRowSize
Tool.StampShowFlattenWarning
Tool.AddAnnotView()
Tool.AddOldTools()
Tool.AddRotateHandle()
Tool.BackToDefaultTool()
Tool.BuildAnnotBBox()
Tool.CalculateQMAnchor(RectF)
Tool.CanAddAnnotView(Annot, AnnotStyle)
Tool.CanAddRotateView(Annot)
Tool.CanSelectGroupAnnot(PDFViewCtrl, Annot, Int32)
Tool.ClearTargetPoint()
Tool.CloseQuickMenu()
Tool.ConvDp2Pix(Single)
Tool.ConvPix2Dp(Single)
Tool.ConvertFromPageRectToScreenRect(Rect, Int32)
Tool.CreateQuickMenu()
Tool.CustomizeQuickMenuItems(QuickMenu)
Tool.DeleteAnnot()
Tool.DidTapOnSameTypeAnnot(MotionEvent)
Tool.DoneOneFingerScrollingWithStylus()
Tool.DoneTwoFingerScrolling()
Tool.DrawSnapToShapeIfEnabled(Canvas)
Tool.ExecuteAction(ActionParameter)
Tool.FindPDFTronFontName(Context, String)
Tool.FlattenAnnot()
Tool.GetAnnotationModificationBundle(Bundle)
Tool.GetBorderStyleKey(Int32)
Tool.GetColorFillKey(Int32)
Tool.GetColorKey(Int32)
Tool.GetDateFormatKey(Int32)
Tool.GetEraserTypeKey(Int32)
Tool.GetFontKey(Int32)
Tool.GetHorizontalAlignmentKey(Int32)
Tool.GetIconKey(Int32)
Tool.GetInkEraserModeKey(Int32)
Tool.GetLineEndStyleKey(Int32)
Tool.GetLineStartStyleKey(Int32)
Tool.GetLineStyleKey(Int32)
Tool.GetModeFromAnnotType(Annot)
Tool.GetOpacityKey(Int32)
Tool.GetRectFromRectF(RectF)
Tool.GetRulerBaseUnitKey(Int32)
Tool.GetRulerBaseValueKey(Int32)
Tool.GetRulerTranslateUnitKey(Int32)
Tool.GetRulerTranslateValueKey(Int32)
Tool.GetStringFromResId(Int32)
Tool.GetTextColorKey(Int32)
Tool.GetTextMarkupTypeKey(Int32)
Tool.GetTextSelectRect(Single, Single)
Tool.GetTextSizeKey(Int32)
Tool.GetThicknessKey(Int32)
Tool.GetToolPreferences(Context)
Tool.GetVerticalAlignmentKey(Int32)
Tool.HandleFlattenAnnot()
Tool.HasMenuEntry(Int32)
Tool.HasPermission(Annot, Int32)
Tool.InitializeSnapToNearest()
Tool.IsAnnotSupportEdit(Annot)
Tool.IsInsideAnnot(MotionEvent)
Tool.IsInsideQuickMenu(Single, Single)
Tool.IsMadeByPDFTron(Annot)
Tool.IsValidAnnot(Annot)
Tool.OnAnnotPainterUpdated(Int32, Int64, CurvePainter)
Tool.OnClose()
Tool.OnConfigurationChanged(Configuration)
Tool.OnCreate()
Tool.OnCustomEvent(Object)
Tool.OnDocumentDownloadEvent(PDFViewCtrl.DownloadState, Int32, Int32, Int32, String)
Tool.OnDoubleTap(MotionEvent)
Tool.OnDoubleTapEnd(MotionEvent)
Tool.OnDoubleTapEvent(MotionEvent)
Tool.OnDoubleTapZoomAnimationBegin()
Tool.OnDoubleTapZoomAnimationEnd()
Tool.OnDown(MotionEvent)
Tool.OnDraw(Canvas, Matrix)
Tool.OnDrawEdgeEffects(Canvas, Int32, Int32)
Tool.OnFlingStop()
Tool.OnInterceptAnnotationHandling(Annot)
Tool.OnInterceptAnnotationHandling(Annot, Bundle)
Tool.OnInterceptAnnotationHandling(PDFViewCtrl.LinkInfo, Int32)
Tool.OnInterceptDialogEvent(AlertDialog)
Tool.OnInterceptDialogFragmentEvent(DialogFragment)
Tool.OnKeyUp(Int32, KeyEvent)
Tool.OnLayout(Boolean, Int32, Int32, Int32, Int32)
Tool.OnLongPress(MotionEvent)
Tool.OnMove(MotionEvent, MotionEvent, Single, Single)
Tool.OnNightModeUpdated(Boolean)
Tool.OnPageTurning(Int32, Int32)
Tool.OnPointerDown(MotionEvent)
Tool.OnPostSingleTapConfirmed()
Tool.OnPullEdgeEffects(Int32, Single)
Tool.OnQuickMenuClicked(QuickMenuItem)
Tool.OnReleaseEdgeEffects()
Tool.OnRenderingFinished()
Tool.OnScale(Single, Single)
Tool.OnScaleBegin(Single, Single)
Tool.OnScaleEnd(Single, Single)
Tool.OnScrollChanged(Int32, Int32, Int32, Int32)
Tool.OnSetDoc()
Tool.OnShowPress(MotionEvent)
Tool.OnSingleTapConfirmed(MotionEvent)
Tool.OnSingleTapUp(MotionEvent)
Tool.OnUp(MotionEvent, PDFViewCtrl.PriorEventType)
Tool.RaiseAnnotationActionEvent()
Tool.RaiseAnnotationAddedEvent(Annot, Int32)
Tool.RaiseAnnotationAddedEvent(IDictionary<Annot, Integer>)
Tool.RaiseAnnotationModifiedEvent(Annot, Int32)
Tool.RaiseAnnotationModifiedEvent(Annot, Int32, Bundle)
Tool.RaiseAnnotationModifiedEvent(IDictionary<Annot, Integer>)
Tool.RaiseAnnotationPreModifyEvent(Annot, Int32)
Tool.RaiseAnnotationPreModifyEvent(IDictionary<Annot, Integer>)
Tool.RaiseAnnotationPreRemoveEvent(Annot, Int32)
Tool.RaiseAnnotationPreRemoveEvent(IDictionary<Annot, Integer>)
Tool.RaiseAnnotationRemovedEvent(Annot, Int32)
Tool.RaiseAnnotationRemovedEvent(Annot, Int32, Bundle)
Tool.RaiseAnnotationRemovedEvent(IDictionary<Annot, Integer>)
Tool.RaiseAnnotationRemovedEvent(IDictionary<Annot, Integer>, Bundle)
Tool.RemoveAnnotView()
Tool.RemoveAnnotView(Boolean)
Tool.RemoveAnnotView(Boolean, Boolean)
Tool.RemoveAnnotView(Boolean, Boolean, Boolean)
Tool.RemoveRotateHandle()
Tool.SafeSetNextToolMode(ToolManager.IToolModeBase)
Tool.SelectAnnot(Annot, Int32)
Tool.SetAnnot(Annot, Int32)
Tool.SetAuthor(Markup)
Tool.SetCurrentDefaultToolModeHelper(ToolManager.IToolModeBase)
Tool.SetDateToNow(Annot)
Tool.SetJustCreatedFromAnotherTool()
Tool.SetNextToolModeHelper(ToolManager.ToolMode)
Tool.SetPageNumberIndicatorVisible(Boolean)
Tool.SetSnapCanDrawShapeIfEnabled(Boolean)
Tool.SetUniqueID(Markup)
Tool.SetupAnnotProperty(AnnotStyle)
Tool.SetupAnnotProperty(Int32, Single, Single, Int32, String, String)
Tool.SetupAnnotProperty(Int32, Single, Single, Int32, String, String, Int32, Single)
Tool.SetupAnnotStyles(IList<AnnotStyle>)
Tool.ShowMenu(RectF)
Tool.ShowMenu(RectF, QuickMenu)
Tool.ShowTransientPageNumber()
Tool.ShowWidgetChoiceDialog(Int64, Int32, Boolean, Boolean, String[])
Tool.SkipOnUpPriorEvent(PDFViewCtrl.PriorEventType)
Tool.SnapToNearestIfEnabled(PointF)
Tool.UnsetAnnot()
Tool.UpdateFont(PDFViewCtrl, Widget, String)
Tool.UpdateFontMap(Context, Int32, String, String)
Tool.UpdateQuickMenuNoteText(String)
Tool.UpdateQuickMenuStyleColor(Int32)
Tool.UpdateQuickMenuStyleOpacity(Single)
Tool.AnnotationFreeTextWhitelistFonts
Tool.MAllowOneFingerScrollWithStylus
Tool.MAllowScrollWithTapTool
Tool.MAllowTapToSelect
Tool.MAllowTwoFingerScroll
Tool.MAllowZoom
Tool.MAnnot
Tool.MAnnotBBox
Tool.MAnnotPageNum
Tool.MAnnotPushedBack
Tool.MAnnotStyle
Tool.MAnnotView
Tool.MAvoidLongPressAttempt
Tool.MCurrentDefaultToolMode
Tool.MForceSameNextToolMode
Tool.MGroupAnnots
Tool.MHasInteractPermission
Tool.MHasMenuPermission
Tool.MHasSelectionPermission
Tool.MIsStylus
Tool.MJustSwitchedFromAnotherTool
Tool.MMruMenuItems
Tool.MMultiStrokeMode
Tool.MNextToolMode
Tool.MOverflowMenuItems
Tool.MPageNumPosAdjust
Tool.MPdfViewCtrl
Tool.MQuickMenu
Tool.MRotateHandle
Tool.MSelectPageNum
Tool.MStylusUsed
Tool.MTempPageDrawingRectF
Tool.MTimedModeEnabled
Tool.MUpFromCalloutCreate
Tool.SDebug
Tool.Annot
Tool.AnnotCanvasRect
Tool.AnnotRect
Tool.Bundle
Tool.CurrentDefaultToolMode
Tool.ForceSameNextToolMode
Tool.HasAnnotSelected
Tool.IsCreatingAnnotation
Tool.IsEditAnnotTool
Tool.IsEditingAnnot
Tool.IsQuickMenuShown
Tool.ModeAHLabel
Tool.NextToolMode
Tool.OldAnnotScreenPosition
Tool.QuickMenuAnalyticType
Tool.SnappingEnabled
Namespace: pdftron.PDF.Tools
Assembly: PDFViewCtrlTools.dll
Syntax
public class AnnotEdit : BaseTool, ToolManager.ITool, AnnotStyle.IOnAnnotStyleChangeListener, DialogAnnotNote.IDialogAnnotNoteListener, InlineEditText.IInlineEditTextListener

Constructors

AnnotEdit(PDFViewCtrl)

Declaration
public AnnotEdit(PDFViewCtrl ctrl)
Parameters
Type Name Description
pdftronprivate.PDF.PDFViewCtrl ctrl

AnnotEdit(IntPtr, JniHandleOwnership)

Declaration
protected AnnotEdit(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type Name Description
System.IntPtr javaReference
Android.Runtime.JniHandleOwnership transfer

Fields

ELl

Declaration
public const int ELl = 0
Field Value
Type Description
System.Int32

ELm

Declaration
public const int ELm = 6
Field Value
Type Description
System.Int32

ELr

Declaration
public const int ELr = 1
Field Value
Type Description
System.Int32

EMl

Declaration
public const int EMl = 7
Field Value
Type Description
System.Int32

EMoving

Declaration
public const int EMoving = -2
Field Value
Type Description
System.Int32

EMr

Declaration
public const int EMr = 4
Field Value
Type Description
System.Int32

EUl

Declaration
public const int EUl = 3
Field Value
Type Description
System.Int32

EUm

Declaration
public const int EUm = 5
Field Value
Type Description
System.Int32

EUnknown

Declaration
public const int EUnknown = -1
Field Value
Type Description
System.Int32

EUr

Declaration
public const int EUr = 2
Field Value
Type Description
System.Int32

RectangularCtrlPtsCnt

Declaration
public const int RectangularCtrlPtsCnt = 8
Field Value
Type Description
System.Int32

Properties

AnnotScreenBBox

Declaration
protected virtual Rect AnnotScreenBBox { get; }
Property Value
Type Description
pdftronprivate.PDF.Rect

AnnotScreenContentBox

Declaration
protected virtual Rect AnnotScreenContentBox { get; }
Property Value
Type Description
pdftronprivate.PDF.Rect

AnnotStyleBuilder

Declaration
protected virtual AnnotStyleDialogFragment.Builder AnnotStyleBuilder { get; }
Property Value
Type Description
AnnotStyleDialogFragment.Builder

CreateAnnotType

Declaration
public override int CreateAnnotType { get; }
Property Value
Type Description
System.Int32
Overrides
Tool.CreateAnnotType

CtrlPtsCnt

Declaration
protected int CtrlPtsCnt { get; set; }
Property Value
Type Description
System.Int32

FreeTextEditText

Declaration
public virtual EditText FreeTextEditText { get; }
Property Value
Type Description
Android.Widget.EditText

InlineEditTextPosition

Declaration
public virtual RectF InlineEditTextPosition { get; }
Property Value
Type Description
Android.Graphics.RectF

IsAnnotResizable

Declaration
protected virtual bool IsAnnotResizable { get; }
Property Value
Type Description
System.Boolean

IsCtrlPtsHidden

Declaration
public virtual bool IsCtrlPtsHidden { get; }
Property Value
Type Description
System.Boolean

IsFreeTextEditing

Declaration
public virtual bool IsFreeTextEditing { get; }
Property Value
Type Description
System.Boolean

IsSupportMove

Declaration
protected virtual bool IsSupportMove { get; }
Property Value
Type Description
System.Boolean

JniPeerMembers

Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Type Description
Java.Interop.JniPeerMembers
Overrides
BaseTool.JniPeerMembers

LoupeType

Declaration
protected override int LoupeType { get; }
Property Value
Type Description
System.Int32
Overrides
BaseTool.LoupeType

MAnnotIsTextMarkup

Declaration
protected bool MAnnotIsTextMarkup { get; set; }
Property Value
Type Description
System.Boolean

MAnnotStyleDialog

Declaration
protected AnnotStyleDialogFragment MAnnotStyleDialog { get; set; }
Property Value
Type Description
AnnotStyleDialogFragment

MBBox

Declaration
protected RectF MBBox { get; set; }
Property Value
Type Description
Android.Graphics.RectF

MBBoxOnDown

Declaration
protected RectF MBBoxOnDown { get; set; }
Property Value
Type Description
Android.Graphics.RectF

MContentBox

Declaration
protected RectF MContentBox { get; set; }
Property Value
Type Description
Android.Graphics.RectF

MContentBoxOnDown

Declaration
protected RectF MContentBoxOnDown { get; set; }
Property Value
Type Description
Android.Graphics.RectF

MCtrlPts

Declaration
protected IList<PointF> MCtrlPts { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<Android.Graphics.PointF>

MCtrlPtsInflated

Declaration
protected IList<PointF> MCtrlPtsInflated { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<Android.Graphics.PointF>

MCtrlPtsOnDown

Declaration
protected IList<PointF> MCtrlPtsOnDown { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<Android.Graphics.PointF>

MCtrlPtsSet

Declaration
protected bool MCtrlPtsSet { get; set; }
Property Value
Type Description
System.Boolean

MCtrlRadius

Declaration
protected float MCtrlRadius { get; set; }
Property Value
Type Description
System.Single

MDashPathEffect

Declaration
protected DashPathEffect MDashPathEffect { get; set; }
Property Value
Type Description
Android.Graphics.DashPathEffect

MEffCtrlPtId

Declaration
protected int MEffCtrlPtId { get; set; }
Property Value
Type Description
System.Int32

MHandleEffCtrlPtsDisabled

Declaration
protected bool MHandleEffCtrlPtsDisabled { get; set; }
Property Value
Type Description
System.Boolean

MHideCtrlPts

Declaration
protected bool MHideCtrlPts { get; set; }
Property Value
Type Description
System.Boolean

MMaintainAspectRatio

Declaration
protected bool MMaintainAspectRatio { get; set; }
Property Value
Type Description
System.Boolean

MModifiedAnnot

Declaration
protected bool MModifiedAnnot { get; set; }
Property Value
Type Description
System.Boolean

MPageCropOnClientF

Declaration
protected RectF MPageCropOnClientF { get; set; }
Property Value
Type Description
Android.Graphics.RectF

MPaint

Declaration
protected Paint MPaint { get; set; }
Property Value
Type Description
Android.Graphics.Paint

MScaled

Declaration
protected bool MScaled { get; set; }
Property Value
Type Description
System.Boolean

MSelectionBoxMargin

Declaration
protected int MSelectionBoxMargin { get; set; }
Property Value
Type Description
System.Int32

MSnapEnabled

Declaration
protected bool MSnapEnabled { get; set; }
Property Value
Type Description
System.Boolean

NewAnnotPagePosition

Declaration
protected virtual Rect NewAnnotPagePosition { get; }
Property Value
Type Description
pdftronprivate.PDF.Rect

NewContentRectPagePosition

Declaration
protected virtual Rect NewContentRectPagePosition { get; }
Property Value
Type Description
pdftronprivate.PDF.Rect

ThresholdClass

Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
Type Description
System.IntPtr
Overrides
BaseTool.ThresholdClass

ThresholdType

Declaration
protected override Type ThresholdType { get; }
Property Value
Type Description
System.Type
Overrides
BaseTool.ThresholdType

ToolMode

Declaration
public override ToolManager.IToolModeBase ToolMode { get; }
Property Value
Type Description
ToolManager.IToolModeBase
Overrides
Tool.ToolMode

Methods

AdjustExtraFreeTextProps(Rect, Rect)

Declaration
protected virtual void AdjustExtraFreeTextProps(Rect oldContentRect, Rect newContentRect)
Parameters
Type Name Description
pdftronprivate.PDF.Rect oldContentRect
pdftronprivate.PDF.Rect newContentRect

AfterTextChanged(IEditable)

Declaration
public virtual void AfterTextChanged(IEditable s)
Parameters
Type Name Description
Android.Text.IEditable s

ApplyResizeSnapping(Single, Single, Single, Single, Boolean, Boolean, Boolean, Boolean)

Declaration
protected virtual RectF ApplyResizeSnapping(float left, float top, float right, float bottom, bool annotLeftSnapping, bool annotTopSnapping, bool annotRightSnapping, bool annotBottomSnapping)
Parameters
Type Name Description
System.Single left
System.Single top
System.Single right
System.Single bottom
System.Boolean annotLeftSnapping
System.Boolean annotTopSnapping
System.Boolean annotRightSnapping
System.Boolean annotBottomSnapping
Returns
Type Description
Android.Graphics.RectF

ApplyTranslationSnapping(Single, Single, Single, Single)

Declaration
protected virtual RectF ApplyTranslationSnapping(float left, float top, float right, float bottom)
Parameters
Type Name Description
System.Single left
System.Single top
System.Single right
System.Single bottom
Returns
Type Description
Android.Graphics.RectF

BeforeTextChanged(ICharSequence, Int32, Int32, Int32)

Declaration
public virtual void BeforeTextChanged(ICharSequence s, int start, int count, int after)
Parameters
Type Name Description
Java.Lang.ICharSequence s
System.Int32 start
System.Int32 count
System.Int32 after

BeforeTextChanged(String, Int32, Int32, Int32)

Declaration
public void BeforeTextChanged(string s, int start, int count, int after)
Parameters
Type Name Description
System.String s
System.Int32 start
System.Int32 count
System.Int32 after

Calibration()

Declaration
protected virtual void Calibration()

CanDrawLoupe()

Declaration
protected override bool CanDrawLoupe()
Returns
Type Description
System.Boolean
Overrides
BaseTool.CanDrawLoupe()

ChangeAnnotAppearance()

Declaration
protected virtual void ChangeAnnotAppearance()

CopyAnnotToNewPage(Annot, Int32, Int32)

Declaration
protected virtual int CopyAnnotToNewPage(Annot annot, int annotPageNum, int newPageNumber)
Parameters
Type Name Description
pdftronprivate.PDF.Annot annot
System.Int32 annotPageNum
System.Int32 newPageNumber
Returns
Type Description
System.Int32

CreateImageCropperMenu()

Declaration
protected virtual QuickMenu CreateImageCropperMenu()
Returns
Type Description
QuickMenu

CropImageAnnot()

Declaration
protected virtual void CropImageAnnot()

DrawSelectionBox(Canvas, Single, Single, Single, Single)

Declaration
protected virtual void DrawSelectionBox(Canvas canvas, float left, float top, float right, float bottom)
Parameters
Type Name Description
Android.Graphics.Canvas canvas
System.Single left
System.Single top
System.Single right
System.Single bottom

DuplicateAnnot()

Declaration
protected virtual void DuplicateAnnot()

EditAnnotSize(PDFViewCtrl.PriorEventType)

Declaration
protected virtual bool EditAnnotSize(PDFViewCtrl.PriorEventType priorEventMode)
Parameters
Type Name Description
pdftronprivate.PDF.PDFViewCtrl.PriorEventType priorEventMode
Returns
Type Description
System.Boolean

EditBorderStyle(ShapeBorderStyle)

Declaration
protected virtual void EditBorderStyle(ShapeBorderStyle borderStyle)
Parameters
Type Name Description
ShapeBorderStyle borderStyle

EditBorderStyle(Annot, Int32, ShapeBorderStyle, Boolean)

Declaration
protected virtual void EditBorderStyle(Annot annot, int pageNum, ShapeBorderStyle borderStyle, bool raiseEvent)
Parameters
Type Name Description
pdftronprivate.PDF.Annot annot
System.Int32 pageNum
ShapeBorderStyle borderStyle
System.Boolean raiseEvent

EditColor(Annot, Int32, Int32, Boolean)

Declaration
protected virtual void EditColor(Annot annot, int pageNum, int color, bool raiseEvent)
Parameters
Type Name Description
pdftronprivate.PDF.Annot annot
System.Int32 pageNum
System.Int32 color
System.Boolean raiseEvent

EditColor(Int32)

Declaration
protected virtual void EditColor(int color)
Parameters
Type Name Description
System.Int32 color

EditFillColor(Annot, Int32, Int32, Boolean)

Declaration
protected virtual void EditFillColor(Annot annot, int pageNum, int color, bool raiseEvent)
Parameters
Type Name Description
pdftronprivate.PDF.Annot annot
System.Int32 pageNum
System.Int32 color
System.Boolean raiseEvent

EditFillColor(Int32)

Declaration
protected virtual void EditFillColor(int color)
Parameters
Type Name Description
System.Int32 color

EditFont(String)

Declaration
protected virtual void EditFont(string pdftronFontName)
Parameters
Type Name Description
System.String pdftronFontName

EditFreeTextDateFormat(String)

Declaration
protected virtual void EditFreeTextDateFormat(string dateFormat)
Parameters
Type Name Description
System.String dateFormat

EditHorizontalAlignment(Int32)

Declaration
protected virtual void EditHorizontalAlignment(int alignment)
Parameters
Type Name Description
System.Int32 alignment

EditIcon(Annot, Int32, String, Boolean)

Declaration
protected virtual void EditIcon(Annot annot, int pageNum, string icon, bool raiseEvent)
Parameters
Type Name Description
pdftronprivate.PDF.Annot annot
System.Int32 pageNum
System.String icon
System.Boolean raiseEvent

EditIcon(String)

Declaration
protected virtual void EditIcon(string icon)
Parameters
Type Name Description
System.String icon

EditLineEndStyle(LineEndingStyle)

Declaration
protected virtual void EditLineEndStyle(LineEndingStyle lineEndStyle)
Parameters
Type Name Description
LineEndingStyle lineEndStyle

EditLineEndStyle(Annot, Int32, LineEndingStyle, Boolean)

Declaration
protected virtual void EditLineEndStyle(Annot annot, int pageNum, LineEndingStyle lineEndStyle, bool raiseEvent)
Parameters
Type Name Description
pdftronprivate.PDF.Annot annot
System.Int32 pageNum
LineEndingStyle lineEndStyle
System.Boolean raiseEvent

EditLineStartStyle(LineEndingStyle)

Declaration
protected virtual void EditLineStartStyle(LineEndingStyle lineStartStyle)
Parameters
Type Name Description
LineEndingStyle lineStartStyle

EditLineStartStyle(Annot, Int32, LineEndingStyle, Boolean)

Declaration
protected virtual void EditLineStartStyle(Annot annot, int pageNum, LineEndingStyle lineStartStyle, bool raiseEvent)
Parameters
Type Name Description
pdftronprivate.PDF.Annot annot
System.Int32 pageNum
LineEndingStyle lineStartStyle
System.Boolean raiseEvent

EditLineStyle(LineStyle)

Declaration
protected virtual void EditLineStyle(LineStyle lineStyle)
Parameters
Type Name Description
LineStyle lineStyle

EditLineStyle(Annot, Int32, LineStyle, Boolean)

Declaration
protected virtual void EditLineStyle(Annot annot, int pageNum, LineStyle lineStyle, bool raiseEvent)
Parameters
Type Name Description
pdftronprivate.PDF.Annot annot
System.Int32 pageNum
LineStyle lineStyle
System.Boolean raiseEvent

EditOpacity(Annot, Int32, Single, Boolean)

Declaration
protected virtual void EditOpacity(Annot annot, int pageNum, float opacity, bool raiseEvent)
Parameters
Type Name Description
pdftronprivate.PDF.Annot annot
System.Int32 pageNum
System.Single opacity
System.Boolean raiseEvent

EditOpacity(Single)

Declaration
protected virtual void EditOpacity(float opacity)
Parameters
Type Name Description
System.Single opacity

EditRedactionOverlayText(Annot, Int32, String, Boolean)

Declaration
protected virtual void EditRedactionOverlayText(Annot annot, int pageNum, string overlayText, bool raiseEvent)
Parameters
Type Name Description
pdftronprivate.PDF.Annot annot
System.Int32 pageNum
System.String overlayText
System.Boolean raiseEvent

EditRedactionOverlayText(String)

Declaration
protected virtual void EditRedactionOverlayText(string overlayText)
Parameters
Type Name Description
System.String overlayText

EditRuler(RulerItem)

Declaration
protected virtual void EditRuler(RulerItem rulerItem)
Parameters
Type Name Description
RulerItem rulerItem

EditRuler(Annot, Int32, RulerItem, Boolean)

Declaration
protected virtual void EditRuler(Annot annot, int pageNum, RulerItem rulerItem, bool raiseEvent)
Parameters
Type Name Description
pdftronprivate.PDF.Annot annot
System.Int32 pageNum
RulerItem rulerItem
System.Boolean raiseEvent

EditTextColor(Int32)

Declaration
protected virtual void EditTextColor(int color)
Parameters
Type Name Description
System.Int32 color

EditTextSize(Single)

Declaration
protected virtual void EditTextSize(float textSize)
Parameters
Type Name Description
System.Single textSize

EditThickness(Annot, Int32, Single, Boolean)

Declaration
protected virtual void EditThickness(Annot annot, int pageNum, float thickness, bool raiseEvent)
Parameters
Type Name Description
pdftronprivate.PDF.Annot annot
System.Int32 pageNum
System.Single thickness
System.Boolean raiseEvent

EditThickness(Single)

Declaration
protected virtual void EditThickness(float thickness)
Parameters
Type Name Description
System.Single thickness

EditVerticalAlignment(Int32)

Declaration
protected virtual void EditVerticalAlignment(int alignment)
Parameters
Type Name Description
System.Int32 alignment

EnterDate()

Declaration
public virtual void EnterDate()

EnterText()

Declaration
public virtual void EnterText()

GetEffectCtrlPointId(Single, Single)

Declaration
public virtual int GetEffectCtrlPointId(float x, float y)
Parameters
Type Name Description
System.Single x
System.Single y
Returns
Type Description
System.Int32

GetFolderPickerIntent(FileAttachment)

Declaration
protected virtual Intent GetFolderPickerIntent(FileAttachment fileAttachment)
Parameters
Type Name Description
pdftronprivate.PDF.Annots.FileAttachment fileAttachment
Returns
Type Description
Android.Content.Intent

GetMenuResByAnnot(Annot)

Declaration
protected virtual int GetMenuResByAnnot(Annot annot)
Parameters
Type Name Description
pdftronprivate.PDF.Annot annot
Returns
Type Description
System.Int32

GetScreenRect(Rect)

Declaration
protected virtual RectF GetScreenRect(Rect screen_rect)
Parameters
Type Name Description
pdftronprivate.PDF.Rect screen_rect
Returns
Type Description
Android.Graphics.RectF

GetVisualCtrlPts()

Declaration
protected virtual PointF[] GetVisualCtrlPts()
Returns
Type Description
Android.Graphics.PointF[]

HideImageCropper()

Declaration
protected virtual void HideImageCropper()

MoveAnnotToNewPage(RectF, Annot, Int32)

Declaration
protected virtual int MoveAnnotToNewPage(RectF bbox, Annot annot, int annotPageNum)
Parameters
Type Name Description
Android.Graphics.RectF bbox
pdftronprivate.PDF.Annot annot
System.Int32 annotPageNum
Returns
Type Description
System.Int32

OnAnnotButtonPressed(Int32)

Declaration
public virtual void OnAnnotButtonPressed(int button)
Parameters
Type Name Description
System.Int32 button

OnChangeAnnotBorderStyle(ShapeBorderStyle)

Declaration
public virtual void OnChangeAnnotBorderStyle(ShapeBorderStyle borderStyle)
Parameters
Type Name Description
ShapeBorderStyle borderStyle

OnChangeAnnotFillColor(Int32)

Declaration
public virtual void OnChangeAnnotFillColor(int color)
Parameters
Type Name Description
System.Int32 color

OnChangeAnnotFont(FontResource)

Declaration
public virtual void OnChangeAnnotFont(FontResource font)
Parameters
Type Name Description
FontResource font

OnChangeAnnotIcon(String)

Declaration
public virtual void OnChangeAnnotIcon(string icon)
Parameters
Type Name Description
System.String icon

OnChangeAnnotLineEndStyle(LineEndingStyle)

Declaration
public virtual void OnChangeAnnotLineEndStyle(LineEndingStyle lineEndStyle)
Parameters
Type Name Description
LineEndingStyle lineEndStyle

OnChangeAnnotLineStartStyle(LineEndingStyle)

Declaration
public virtual void OnChangeAnnotLineStartStyle(LineEndingStyle lineStartStyle)
Parameters
Type Name Description
LineEndingStyle lineStartStyle

OnChangeAnnotLineStyle(LineStyle)

Declaration
public virtual void OnChangeAnnotLineStyle(LineStyle lineStyle)
Parameters
Type Name Description
LineStyle lineStyle

OnChangeAnnotOpacity(Single, Boolean)

Declaration
public virtual void OnChangeAnnotOpacity(float opacity, bool done)
Parameters
Type Name Description
System.Single opacity
System.Boolean done

OnChangeAnnotStrokeColor(Int32)

Declaration
public virtual void OnChangeAnnotStrokeColor(int color)
Parameters
Type Name Description
System.Int32 color

OnChangeAnnotTextColor(Int32)

Declaration
public virtual void OnChangeAnnotTextColor(int textColor)
Parameters
Type Name Description
System.Int32 textColor

OnChangeAnnotTextSize(Single, Boolean)

Declaration
public virtual void OnChangeAnnotTextSize(float textSize, bool done)
Parameters
Type Name Description
System.Single textSize
System.Boolean done

OnChangeAnnotThickness(Single, Boolean)

Declaration
public virtual void OnChangeAnnotThickness(float thickness, bool done)
Parameters
Type Name Description
System.Single thickness
System.Boolean done

OnChangeDateFormat(String)

Declaration
public virtual void OnChangeDateFormat(string dateFormat)
Parameters
Type Name Description
System.String dateFormat

OnChangeOverlayText(String)

Declaration
public virtual void OnChangeOverlayText(string overlayText)
Parameters
Type Name Description
System.String overlayText

OnChangeRichContentEnabled(Boolean)

Declaration
public virtual void OnChangeRichContentEnabled(bool enabled)
Parameters
Type Name Description
System.Boolean enabled

OnChangeRulerProperty(RulerItem)

Declaration
public virtual void OnChangeRulerProperty(RulerItem rulerItem)
Parameters
Type Name Description
RulerItem rulerItem

OnChangeSnapping(Boolean)

Declaration
public virtual void OnChangeSnapping(bool snap)
Parameters
Type Name Description
System.Boolean snap

OnChangeTextAlignment(Int32, Int32)

Declaration
public virtual void OnChangeTextAlignment(int horizontalAlignment, int verticalAlignment)
Parameters
Type Name Description
System.Int32 horizontalAlignment
System.Int32 verticalAlignment

OnTextChanged(ICharSequence, Int32, Int32, Int32)

Declaration
public virtual void OnTextChanged(ICharSequence s, int start, int before, int count)
Parameters
Type Name Description
Java.Lang.ICharSequence s
System.Int32 start
System.Int32 before
System.Int32 count

OnTextChanged(String, Int32, Int32, Int32)

Declaration
public void OnTextChanged(string s, int start, int before, int count)
Parameters
Type Name Description
System.String s
System.Int32 start
System.Int32 before
System.Int32 count

RaiseAnnotStyleChange()

Declaration
protected virtual void RaiseAnnotStyleChange()

RefreshAppearanceImpl(Annot, Int32)

Declaration
protected virtual void RefreshAppearanceImpl(Annot annot, int pageNum)
Parameters
Type Name Description
pdftronprivate.PDF.Annot annot
System.Int32 pageNum

ResizeCallout(Markup, Rect, Rect)

Declaration
protected virtual void ResizeCallout(Markup markup, Rect originalAnnotRect, Rect adjustedAnnotRect)
Parameters
Type Name Description
pdftronprivate.PDF.Annots.Markup markup
pdftronprivate.PDF.Rect originalAnnotRect
pdftronprivate.PDF.Rect adjustedAnnotRect

RotateStampAnnot(Int32, Boolean)

Declaration
protected virtual void RotateStampAnnot(int degree, bool snap)
Parameters
Type Name Description
System.Int32 degree
System.Boolean snap

SaveAndQuitInlineEditText(Boolean)

Declaration
protected virtual void SaveAndQuitInlineEditText(bool immediatelyRemoveView)
Parameters
Type Name Description
System.Boolean immediatelyRemoveView

SetCtrlPts()

Declaration
protected virtual void SetCtrlPts()

SetCtrlPts(Boolean)

Declaration
protected virtual void SetCtrlPts(bool resetAnnotView)
Parameters
Type Name Description
System.Boolean resetAnnotView

SetDebug(Boolean)

Declaration
public static void SetDebug(bool debug)
Parameters
Type Name Description
System.Boolean debug

SetOriginalCtrlPtsDisabled(Boolean)

Declaration
protected virtual void SetOriginalCtrlPtsDisabled(bool disabled)
Parameters
Type Name Description
System.Boolean disabled

SetUpFromFreeTextCreate(Boolean)

Declaration
public virtual void SetUpFromFreeTextCreate(bool flag)
Parameters
Type Name Description
System.Boolean flag

SetUpFromStickyCreate(Boolean)

Declaration
public virtual void SetUpFromStickyCreate(bool flag)
Parameters
Type Name Description
System.Boolean flag

ShouldCopyAnnot(Int32)

Declaration
protected virtual bool ShouldCopyAnnot(int currentPage)
Parameters
Type Name Description
System.Int32 currentPage
Returns
Type Description
System.Boolean

ShowImageCropper()

Declaration
protected virtual void ShowImageCropper()

SnapAnnotScreenRectToPage(RectF)

Declaration
protected virtual RectF SnapAnnotScreenRectToPage(RectF rect)
Parameters
Type Name Description
Android.Graphics.RectF rect
Returns
Type Description
Android.Graphics.RectF

SnapPtToPage(PointF, Int32)

Declaration
protected virtual bool SnapPtToPage(PointF point, int pageNum)
Parameters
Type Name Description
Android.Graphics.PointF point
System.Int32 pageNum
Returns
Type Description
System.Boolean

SnapRectToPage(RectF, Int32)

Declaration
protected virtual bool SnapRectToPage(RectF annotRect, int pageNumber)
Parameters
Type Name Description
Android.Graphics.RectF annotRect
System.Int32 pageNumber
Returns
Type Description
System.Boolean

SnapToAspectRatio(Single, Single, Single, Single)

Declaration
protected virtual bool SnapToAspectRatio(float left, float right, float top, float bottom)
Parameters
Type Name Description
System.Single left
System.Single right
System.Single top
System.Single bottom
Returns
Type Description
System.Boolean

SnapToPerfectShape(Single, Single, Single, Single)

Declaration
protected virtual Float SnapToPerfectShape(float left, float right, float top, float bottom)
Parameters
Type Name Description
System.Single left
System.Single right
System.Single top
System.Single bottom
Returns
Type Description
Java.Lang.Float

ToggleToFreeTextDialog(String)

Declaration
public virtual void ToggleToFreeTextDialog(string interImText)
Parameters
Type Name Description
System.String interImText

UpdateAnnot()

Declaration
protected virtual void UpdateAnnot()

UpdateAnnotView(Single, Single, Single, Single)

Declaration
protected virtual void UpdateAnnotView(float left, float top, float right, float bottom)
Parameters
Type Name Description
System.Single left
System.Single top
System.Single right
System.Single bottom

UpdateAnnotViewCtrlPt()

Declaration
protected virtual void UpdateAnnotViewCtrlPt()

UpdateCtrlPts(Boolean, Single, Single, Single, Single, RectF)

Declaration
protected virtual void UpdateCtrlPts(bool translate, float left, float right, float top, float bottom, RectF which)
Parameters
Type Name Description
System.Boolean translate
System.Single left
System.Single right
System.Single top
System.Single bottom
Android.Graphics.RectF which

UpdateRotateView()

Declaration
public virtual void UpdateRotateView()

UpdateRotateView(Int32, Int32)

Declaration
protected virtual void UpdateRotateView(int left, int top)
Parameters
Type Name Description
System.Int32 left
System.Int32 top

UpdateRotateView(Single, Single, Single, Single)

Declaration
protected virtual void UpdateRotateView(float min_x, float min_y, float max_x, float max_y)
Parameters
Type Name Description
System.Single min_x
System.Single min_y
System.Single max_x
System.Single max_y

Implements

ToolManager.ITool
Android.Text.ITextWatcher
Android.Text.INoCopySpan
AnnotStyle.IOnAnnotStyleChangeListener
DialogAnnotNote.IDialogAnnotNoteListener
InlineEditText.IInlineEditTextListener
Android.Runtime.IJavaObject
System.IDisposable
Java.Interop.IJavaPeerable
In This Article
Back to top Generated by DocFX