You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* docs(signature): document value format
* Update components/signature/overview.md
* docs(signature): polish value format example
* Update components/signature/overview.md
Copy file name to clipboardExpand all lines: components/signature/overview.md
+73Lines changed: 73 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,79 @@ The Blazor Signature component provides an area where users can draw their signa
32
32
}
33
33
````
34
34
35
+
## Value Format
36
+
37
+
The Signature produces a `Value`, which is a Base64-encoded PNG image. To display the image without saving it as a physical file, use the `Value` directly as a data URI. To save the `Value` and use it as a physical image, remove the data URI prefix `data:image/png;base64,` from the beginning of the `Value` string.
38
+
39
+
To test with physical PNG files, uncomment the code below and run the example in a Blazor Server app.
The Signature component provides settings to control its appearance, for example colors and borders. [Read more about the Blazor Signature appearance settings...]({%slug signature-appearance%})
0 commit comments