menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BarcodeExportType - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved