Class BarcodeExportType
Represents the export type of barcode. By default, it is set to JPG.
Inheritance
System.Object
BarcodeExportType
Namespace: Syncfusion.Blazor.BarcodeGenerator
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class BarcodeExportType : Enum
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
JPG
Barcode will be exported as a JPG file.
Declaration
public const BarcodeExportType JPG
Field Value
Type |
---|
BarcodeExportType |
PNG
Barcode will be exported as a PNG file.
Declaration
public const BarcodeExportType PNG
Field Value
Type |
---|
BarcodeExportType |