Enum BarcodeExportType
Represents the export type of barcode. By default, it is set to JPG.
Namespace: Syncfusion.Blazor.BarcodeGenerator
Assembly: Syncfusion.Blazor.dll
Syntax
public enum BarcodeExportType
Examples
<input type = "button" value="Export" @onclick="@OnExport" />
<SfQRCodeGenerator Width = "200px" Height="150px" Value="Syncfusion" >
<QRCodeGeneratorDisplayText text = "Text" ></ QRCodeGeneratorDisplayText >
</ SfQRCodeGenerator >
@code{
private void OnExport()
{
QRcode.Export("fileName", BarcodeExportType.JPG);
}
}
Fields
| Name | Description |
|---|---|
| JPG | Barcode will be exported as a JPG file. |
| PNG | Barcode will be exported as a PNG file. |