Class RadSignaturePad
Provides support for drawing and saving signatures.
Inherited Members
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll
Syntax
public class RadSignaturePad : RadBorder, IRadBorder, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Constructors
RadSignaturePad()
Fields
ActualStyleProperty
Identifies the Actual
Declaration
public static readonly BindableProperty ActualStyleProperty
Field Value
Microsoft.
|
BackgroundColorProperty
Identifies the Background
Declaration
public static readonly BindableProperty BackgroundColorProperty
Field Value
Microsoft.
|
StrokeColorProperty
Identifies the Stroke
Declaration
public static readonly BindableProperty StrokeColorProperty
Field Value
Microsoft.
|
StrokeThicknessProperty
Identifies the Stroke
Declaration
public static readonly BindableProperty StrokeThicknessProperty
Field Value
Microsoft.
|
StyleProperty
Identifies the Style property.
Declaration
public static readonly BindableProperty StyleProperty
Field Value
Microsoft.
|
Properties
ActualStyle
Gets the result from merging the Style property with the default Microsoft.
Declaration
public Style ActualStyle { get; }
Property Value
Microsoft.
|
BackgroundColor
Declaration
public Color BackgroundColor { get; set; }
Property Value
Microsoft.
|
ClearCommand
Gets a command to clear the Rad
Declaration
public ICommand ClearCommand { get; }
Property Value
System.
|
StrokeColor
Gets or sets the stroke color for the signature.
Declaration
public Color StrokeColor { get; set; }
Property Value
Microsoft.
|
StrokeThickness
Gets or sets the stroke thickness for the signature.
Declaration
public double StrokeThickness { get; set; }
Property Value
System.
|
Style
Gets or sets a Style to be applied to the RadSignaturePad.
Declaration
public Style Style { get; set; }
Property Value
Microsoft.
|
Methods
SaveImageAsync(Stream)
Saves drawn signature to the specified stream, encoding it as Png, using the Rad
Declaration
public Task SaveImageAsync(Stream outputStream)
Parameters
System. Specifies the output stream to save the image to. |
Returns
System. Returns a System. |
Exceptions
System. The image buffer data is null. |
System. The image buffer data count is negative number. |
System. An I/O error occured, such as the specified file cannot be found. |
System. The outputStream does not support writing. |
System. Writing to outputStream is called after the stream was closed. |
SaveImageAsync(Stream, SaveImageSettings)
Saves drawn signature to the specified stream, encoding it using the provided Save
Declaration
public Task SaveImageAsync(Stream outputStream, SaveImageSettings settings)
Parameters
System. Specifies the output stream to save the image to. |
Save Specifies the Save |
Returns
System. Returns a System. |
Exceptions
System. The image buffer data is null. |
System. The image buffer data count is negative number. |
System. An I/O error occured, such as the specified file cannot be found. |
System. The outputStream does not support writing. |
System. Writing to outputStream is called after the stream was closed. |
System. Unable to allocate pixels for the bitmap. Can occur with big values for Scale |
Events
Cleared
Raised when the surface of Rad
Declaration
public event EventHandler Cleared
Event Type
System.
|
StrokeCompleted
Raised when a new stroke is completed in Rad
Declaration
public event EventHandler StrokeCompleted
Event Type
System.
|
StrokeStarted
Raised when a new stroke is started in Rad
Declaration
public event EventHandler StrokeStarted
Event Type
System.
|