zplCore.comzplCore.com

QrExtras

public static class QrExtras

GS1 QR Code, Swiss QR Code and EPC (SEPA credit transfer) QR helpers.

Methods

Method SignatureReturnsDescription
static # Epc(string payload)BarcodeMatrixEPC QR (girocode) symbol: the payload encoded as UTF-8 at EC level M.
static # EpcPayload(string name, string iban, decimal? amount = default, string? bic = default, string? remittance = default, string? reference = default, string? purpose = default, string? information = default)stringBuilds an EPC069-12 (version 002, UTF-8) SEPA Credit Transfer QR payload. Lines are joined with LF; trailing empty optional lines are omitted. reference (structured creditor reference) and remittance (unstructured text) are mutually exclusive.
static # Gs1(string ai, char ecc = 'M')BarcodeMatrixGS1 QR Code from bracketed AI syntax, e.g. "(01)09521234543213(3103)000123". EC level M.
static # Gs1RectMicroQr(string ai, string? version = default, char ecc = 'M')BarcodeMatrixGS1 rMQR (ISO/IEC 23941 with FNC1 in first position) from bracketed AI syntax; version null = smallest area.
static # SwissQr(string payload)SwissQrResultSwiss QR Code (QR-bill): payload as UTF-8, EC level M, plus the Swiss cross overlay.