Class QrCodeElement


public class QrCodeElement extends Dim2BarcodeElement
Represents a QR code barcode element.
  • Constructor Details

    • QrCodeElement

      public QrCodeElement(String value, ElementPlacement placement, float xOffset, float yOffset)
      Initializes a new instance of the QrCodeElement class.
      Parameters:
      value - The value of the QR code.
      placement - The placement of the barcode on the page.
      xOffset - The X coordinate of the QR code.
      yOffset - The Y coordinate of the QR code.
    • QrCodeElement

      public QrCodeElement(String value, ElementPlacement placement)
      Initializes a new instance of the QrCodeElement class.
      Parameters:
      value - The value of the QR code.
      placement - The placement of the barcode on the page.
    • QrCodeElement

      public QrCodeElement(byte[] value, ElementPlacement placement, float xOffset, float yOffset)
      Initializes a new instance of the QrCodeElement class.
      Parameters:
      value - The value of the QR code.
      placement - The placement of the barcode on the page.
      xOffset - The X coordinate of the QR code.
      yOffset - The Y coordinate of the QR code.
    • QrCodeElement

      public QrCodeElement(byte[] value, ElementPlacement placement)
      Initializes a new instance of the QrCodeElement class.
      Parameters:
      value - The value of the QR code.
      placement - The placement of the barcode on the page.
  • Method Details

    • getFnc1

      public QrCodeFnc1 getFnc1()
      Gets FNC1 mode.
      Returns:
      FNC1 mode.
    • setFnc1

      public void setFnc1(QrCodeFnc1 value)
      Sets FNC1 mode.
      Parameters:
      value - FNC1 mode.
    • getVersion

      public int getVersion()
      Gets the QR code version.
      Returns:
      the QR code version.
    • setVersion

      public void setVersion(int value)
      Sets the QR code version.
      Parameters:
      value - The QR code version.