Show / Hide Table of Contents

Class EditToolbar

Inheritance
System.Object
InsectHandlerToolbar
EditToolbar
Namespace: pdftron.PDF.Controls
Assembly: PDFViewCtrlTools.dll
Syntax
public class EditToolbar : InsectHandlerToolbar

Constructors

EditToolbar(Context)

Declaration
public EditToolbar(Context context)
Parameters
Type Name Description
Android.Content.Context context

EditToolbar(Context, IAttributeSet)

Declaration
public EditToolbar(Context context, IAttributeSet attrs)
Parameters
Type Name Description
Android.Content.Context context
Android.Util.IAttributeSet attrs

EditToolbar(Context, IAttributeSet, Int32)

Declaration
public EditToolbar(Context context, IAttributeSet attrs, int defStyleAttr)
Parameters
Type Name Description
Android.Content.Context context
Android.Util.IAttributeSet attrs
System.Int32 defStyleAttr

EditToolbar(Context, IAttributeSet, Int32, Int32)

Declaration
public EditToolbar(Context context, IAttributeSet attrs, int defStyleAttr, int defStyleRes)
Parameters
Type Name Description
Android.Content.Context context
Android.Util.IAttributeSet attrs
System.Int32 defStyleAttr
System.Int32 defStyleRes

EditToolbar(IntPtr, JniHandleOwnership)

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

Properties

JniPeerMembers

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

ThresholdClass

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

ThresholdType

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

Methods

HandleKeyUp(Int32, KeyEvent)

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

OnConfigurationChanged(Configuration)

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

Setup(PDFViewCtrl, IOnToolSelectedListener, IList<AnnotStyle>, Boolean, Boolean, Boolean, Boolean, Boolean)

Declaration
public virtual void Setup(PDFViewCtrl pdfViewCtrl, IOnToolSelectedListener onToolSelectedListener, IList<AnnotStyle> drawStyles, bool hasClearButton, bool hasEraserButton, bool hasUndoRedoButtons, bool shouldExpanded, bool isStyleFixed)
Parameters
Type Name Description
pdftronprivate.PDF.PDFViewCtrl pdfViewCtrl
IOnToolSelectedListener onToolSelectedListener
System.Collections.Generic.IList<AnnotStyle> drawStyles
System.Boolean hasClearButton
System.Boolean hasEraserButton
System.Boolean hasUndoRedoButtons
System.Boolean shouldExpanded
System.Boolean isStyleFixed

Show()

Declaration
public virtual void Show()

UpdateControlButtons(Boolean, Boolean, Boolean, Boolean)

Declaration
public virtual void UpdateControlButtons(bool canClear, bool canErase, bool canUndo, bool canRedo)
Parameters
Type Name Description
System.Boolean canClear
System.Boolean canErase
System.Boolean canUndo
System.Boolean canRedo

UpdateDrawColor(Int32, Int32)

Declaration
public virtual void UpdateDrawColor(int styleIndex, int color)
Parameters
Type Name Description
System.Int32 styleIndex
System.Int32 color

UpdateDrawStyles(IList<AnnotStyle>)

Declaration
public virtual void UpdateDrawStyles(IList<AnnotStyle> drawStyles)
Parameters
Type Name Description
System.Collections.Generic.IList<AnnotStyle> drawStyles
In This Article
Back to top Generated by DocFX