ImageHelper GetQRCodeUrl Method (String, Int32, String, Int32, String, Int32, String, String)Kentico 8.1 API Reference
Gets the URL for the given QR code

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

code
Type: OnlineSystem String
Code to generate by the QR code
size
Type: OnlineSystem Int32
Image size, image is rendered with recommended resolution for the QR code
encoding
Type: OnlineSystem String
Encoding, possible options (B - Byte, AN - Alphanumeric, N - Numeric)
version
Type: OnlineSystem Int32
QR code version (by default supported 1 to 10), additional data templates may be put into ~/App_Data/CMS_Modules/QRCode/Resources.zip
correction
Type: OnlineSystem String
Correction type, possible options (L, M, Q, H)
maxSideSize
Type: OnlineSystem Int32
Maximum size of the code in pixels, the code will be resized if larger than this size
fgColor
Type: OnlineSystem String
Foreground color
bgColor
Type: OnlineSystem String
Background color

Return Value

Type: OnlineString
See Also