# Signature Image Export

You can export the Telerik UI Signature for ASP.NET Core to a PNG file through the Kendo UI [`saveAs`](https://docs.telerik.com/kendo-ui/api/kendo/methods/saveas) method.

To achieve this functionality, retrieve the base64 value of the Signature by using the [`value`](https://docs.telerik.com/kendo-ui/api/ui/signature/methods/value) method of the component.

```Razor HtmlHelper
    <button id="export">Export as PNG</button>
    
    @(Html.Kendo().Signature()
            .Name("signature")
            .Width(500)
            .Height(300)
    )

    <script>
      let signature = $("#signature").getKendoSignature();
      $("#export").kendoButton({
        click: function() {
          kendo.saveAs({
            // Use the base64 value of the signature for the dataURI.
            dataURI: signature.value(),
            fileName: "signature.png"
          });
        }
      });
    </script>
```

```Razor TagHelper
    <button id="export">Export as PNG</button>

    <kendo-signature name="signature"
                     width="500"
                     height="300">
    </kendo-signature>

    <script>
      let signature = $("#signature").getKendoSignature();
      $("#export").kendoButton({
        click: function() {
          kendo.saveAs({
            // Use the base64 value of the signature for the dataURI.
            dataURI: signature.value(),
            fileName: "signature.png"
          });
        }
      });
    </script>
```

## See Also

* [Image Export of the Signature (Demo)](https://demos.telerik.com/aspnet-core/signature/export-image)
* [API Reference of the Signature](https://docs.telerik.com/aspnet-core/api/kendo.mvc.ui.fluent/signaturebuilder)
