Barcode Plugin for Xojo

QRCodeGenerator.GetPDFBaseSize Method

Returns the size of a QR code with given data, errorCorrection and border settings on a PDF using base size 1.0.

GetPDFBaseSize(
   data as String,
   errorCorrection as ErrorCorrectionType,
   borderSize as UInt8) as Single

Parameters

data
The data to put in the QRCode.
errorCorrection
Error correction level to use for the QRCode. (More error correction means bigger QRCode). This can be any value that is defined in the ErrorCorrectionType enum.
borderSize
Size of the white border to put around the QRCode in pixels.

Returns

Single
The size of the QRCode scaled with 1.0 size in PDF units.

Remarks

See Also

QRCodeGenerator Class