Class CreateSignatureFragment
Inheritance
System.Object
CreateSignatureFragment
Assembly: PDFViewCtrlTools.dll
Syntax
public class CreateSignatureFragment : Fragment
Constructors
CreateSignatureFragment()
Declaration
public CreateSignatureFragment()
CreateSignatureFragment(IntPtr, JniHandleOwnership)
Declaration
protected CreateSignatureFragment(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 |
|
MStoreSignatureSwitch
Declaration
protected SwitchCompat MStoreSignatureSwitch { get; set; }
Property Value
Type |
Description |
AndroidX.AppCompat.Widget.SwitchCompat |
|
ThresholdClass
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
Type |
Description |
System.IntPtr |
|
ThresholdType
Declaration
protected override Type ThresholdType { get; }
Property Value
Type |
Description |
System.Type |
|
Methods
GetStoreSignature(Context)
Declaration
public static bool GetStoreSignature(Context context)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Returns
Type |
Description |
System.Boolean |
|
NewInstance(Int32, Single, Boolean, Boolean, Boolean, Boolean, Boolean, IDictionary<Integer, AnnotStyleProperty>, Boolean, Boolean, Int32[])
Declaration
public static CreateSignatureFragment NewInstance(int color, float strokeWidth, bool showSignatureFromImage, bool showTypedSignature, bool showSignaturePresets, bool showSavedSignatures, bool isPressureSensitive, IDictionary<Integer, AnnotStyleProperty> annotStyleProperties, bool defaultStoreNewSignature, bool persistStoreSignatureSetting, params int[] signatureColors)
Parameters
Type |
Name |
Description |
System.Int32 |
color |
|
System.Single |
strokeWidth |
|
System.Boolean |
showSignatureFromImage |
|
System.Boolean |
showTypedSignature |
|
System.Boolean |
showSignaturePresets |
|
System.Boolean |
showSavedSignatures |
|
System.Boolean |
isPressureSensitive |
|
System.Collections.Generic.IDictionary<Java.Lang.Integer, AnnotStyleProperty> |
annotStyleProperties |
|
System.Boolean |
defaultStoreNewSignature |
|
System.Boolean |
persistStoreSignatureSetting |
|
System.Int32[] |
signatureColors |
|
Returns
NewInstance(Int32, Single, Boolean, Boolean, Boolean, Boolean, IDictionary<Integer, AnnotStyleProperty>, Boolean, Boolean)
Declaration
public static CreateSignatureFragment NewInstance(int color, float strokeWidth, bool showSignatureFromImage, bool showSignaturePresets, bool showSavedSignatures, bool isPressureSensitive, IDictionary<Integer, AnnotStyleProperty> annotStyleProperties, bool defaultStoreNewSignature, bool persistStoreSignatureSetting)
Parameters
Type |
Name |
Description |
System.Int32 |
color |
|
System.Single |
strokeWidth |
|
System.Boolean |
showSignatureFromImage |
|
System.Boolean |
showSignaturePresets |
|
System.Boolean |
showSavedSignatures |
|
System.Boolean |
isPressureSensitive |
|
System.Collections.Generic.IDictionary<Java.Lang.Integer, AnnotStyleProperty> |
annotStyleProperties |
|
System.Boolean |
defaultStoreNewSignature |
|
System.Boolean |
persistStoreSignatureSetting |
|
Returns
ResetToolbar(Context)
Declaration
public virtual void ResetToolbar(Context context)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
SetOnCreateSignatureListener(IOnCreateSignatureListener)
Declaration
public virtual void SetOnCreateSignatureListener(IOnCreateSignatureListener listener)
Parameters
Declaration
public virtual void SetToolbar(Toolbar toolbar)
Parameters
Type |
Name |
Description |
AndroidX.AppCompat.Widget.Toolbar |
toolbar |
|
Events
AnnotStyleDialogFragmentDismissed
Declaration
public event EventHandler<AnnotStyleDialogFragmentDismissedEventArgs> AnnotStyleDialogFragmentDismissed
Event Type
SignatureCreated
Declaration
public event EventHandler<SignatureCreatedEventArgs> SignatureCreated
Event Type
SignatureFromImage
Declaration
public event EventHandler<SignatureFromImageEventArgs> SignatureFromImage
Event Type