Class SignatureDialog
This class is used to let the user draw a shape (signature) and then produce a PDFPage which the user can use as a stamp. For this, we will create a document where a page can be used as a stamp.
Inheritance
System.Object
Windows.UI.Xaml.DependencyObject
Windows.UI.Xaml.UIElement
Windows.UI.Xaml.FrameworkElement
Windows.UI.Xaml.Controls.Control
Windows.UI.Xaml.Controls.UserControl
SignatureDialog
Implements
Windows.UI.Composition.IAnimationObject
Windows.UI.Composition.IVisualElement
Namespace: pdftron.PDF.Tools
Assembly: pdftron.PDF.Tools.dll
Syntax
public sealed class SignatureDialog : UserControl, IDependencyObject, IDependencyObject2, IUIElement, IUIElement2, IUIElement3, IUIElement4, IUIElement5, IUIElement7, IUIElement8, IUIElement9, IUIElement10, IUIElementOverrides, IUIElementOverrides7, IUIElementOverrides8, IUIElementOverrides9, IAnimationObject, IVisualElement, IFrameworkElement, IFrameworkElement2, IFrameworkElement3, IFrameworkElement4, IFrameworkElement6, IFrameworkElement7, IFrameworkElementProtected7, IFrameworkElementOverrides, IFrameworkElementOverrides2, IControl, IControl2, IControl3, IControl4, IControl5, IControl7, IControlProtected, IControlOverrides, IControlOverrides6, IUserControl
Constructors
SignatureDialog(Boolean)
Declaration
public SignatureDialog(bool fullScreen = false)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | fullScreen |
Properties
BottomMost
Declaration
public double BottomMost { get; }
Property Value
Type | Description |
---|---|
System.Double |
LeftMost
Declaration
public double LeftMost { get; }
Property Value
Type | Description |
---|---|
System.Double |
MadeWithStylus
Gets whether the signature was created using a stylus
Declaration
public bool MadeWithStylus { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
RightMost
Declaration
public double RightMost { get; }
Property Value
Type | Description |
---|---|
System.Double |
ShouldOverwriteOldSignature
Declaration
public bool ShouldOverwriteOldSignature { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ShowDefaultSignatures
Sets or Gets whether to allow displaying a default (previously saved) signature
Declaration
public bool ShowDefaultSignatures { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ShowOptionToOverwriteSignature
Gets or sets whether to show the check box to overwrite the currently saved signature
Declaration
public bool ShowOptionToOverwriteSignature { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ShowOptionToUseDefaultSignature
Declaration
public bool ShowOptionToUseDefaultSignature { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
StrokeColor
Declaration
public Color StrokeColor { get; }
Property Value
Type | Description |
---|---|
Windows.UI.Color |
Strokes
Declaration
public List<List<Point>> Strokes { get; }
Property Value
Type | Description |
---|---|
List<List<Windows.Foundation.Point>> |
StrokeThickness
Declaration
public double StrokeThickness { get; }
Property Value
Type | Description |
---|---|
System.Double |
TopMost
Declaration
public double TopMost { get; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
Close()
Declaration
public void Close()
Events
SignatureDone
Declaration
public event SignatureDialog.OnSignatureDoneDelegate SignatureDone
Event Type
Type | Description |
---|---|
SignatureDialog.OnSignatureDoneDelegate |
UseDefaultSelected
Declaration
public event SignatureDialog.OnUseDefaultDelegate UseDefaultSelected
Event Type
Type | Description |
---|---|
SignatureDialog.OnUseDefaultDelegate |
Implements
Windows.UI.Composition.IAnimationObject
Windows.UI.Composition.IVisualElement