Back to Devexpress

PaymentServicesAustriaQRFrameOptions Class

corelibraries-devexpress-dot-xtraprinting-dot-barcode-7e83e579.md

latest3.5 KB
Original Source

PaymentServicesAustriaQRFrameOptions Class

Identifies an EPC QR Code’s frame used in Payment Services Austria.

Namespace : DevExpress.XtraPrinting.BarCode

Assembly : DevExpress.Printing.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
public class PaymentServicesAustriaQRFrameOptions :
    RectangleQRFrameOptions
vb
Public Class PaymentServicesAustriaQRFrameOptions
    Inherits RectangleQRFrameOptions

Remarks

This frame meets the requirements described in the following Payment Services Austria (PSA) document: Payment Services Austria standard.

This frame can be used only with an EPC QR Code.

To set this frame at design time in Visual Studio Report Designer, select an EPC QR Code, go to BehaviorSymbologyFrameOptions, and select PaymentServicesAustriaQRFrameOptions:

To set this frame in code, assign a new instance of PaymentServicesAustriaQRFrameOptions to the QRCodeGenerator.FrameOptions property.

csharp
((QRCodeGenerator)barCode.Symbology).FrameOptions = new PaymentServicesAustriaQRFrameOptions();
vb
CType(barCode.Symbology, QRCodeGenerator).FrameOptions = New PaymentServicesAustriaQRFrameOptions()

To create an EPC QR Code with the “Zahlen mit Code” frame that conforms to the specification with the Barcode Generation API, you must define the CodeTextFont property value manually depending on the target picture dimensions as illustrated below:

csharp
//...
barCode.Options.QRCodeEPC.FrameOptions = new PaymentServicesAustriaQRFrameOptions();
//For 256x256, use the Arial 15 pt font.
barCode.CodeTextFont = new DXFont("Arial", 15);
//For 512x512, use the Arial 26 pt font.
//barCode.CodeTextFont = new DXFont("Arial", 26);
vb
'...
barCode.Options.QRCodeEPC.FrameOptions = New PaymentServicesAustriaQRFrameOptions()
'For 256x256, use the Arial 15 pt font.
barCode.CodeTextFont = New DXFont("Arial", 15)
'For 512x512, use the Arial 26 pt font.
'barCode.CodeTextFont = New DXFont("Arial", 26)

Inheritance

Object QRFrameOptions RectangleQRFrameOptions PaymentServicesAustriaQRFrameOptions

See Also

PaymentServicesAustriaQRFrameOptions Members

DevExpress.XtraPrinting.BarCode Namespace