Class SignatureCapture
- Namespace
- NuvTools.AspNetCore.Blazor.Components
- Assembly
- NuvTools.AspNetCore.Blazor.dll
A signature drawn on a NuvSignaturePad, as a PNG.
public sealed class SignatureCapture
- Inheritance
-
SignatureCapture
- Inherited Members
Properties
Base64
The image content in Base64, already without the data:...;base64, prefix.
public string Base64 { get; }
Property Value
Bytes
The decoded image content.
public byte[] Bytes { get; }
Property Value
- byte[]
ContentType
The MIME type of the image, read from DataUrl.
public string ContentType { get; }
Property Value
DataUrl
The full data URL, as produced by the canvas (data:image/png;base64,...).
public required string DataUrl { get; init; }
Property Value
Height
The image height, in pixels.
public int Height { get; init; }
Property Value
Strokes
How many strokes the signature has; a tap or a dot counts as one.
public int Strokes { get; init; }
Property Value
Width
The image width, in pixels (the drawing buffer, already scaled to the device pixel ratio).
public int Width { get; init; }