ImageHelperGetQRCodeUrl Method (String, Int32, String, Int32, String, Int32, String, String) |
Gets the URL for the given QR code
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax public static string GetQRCodeUrl(
string code,
int size,
string encoding,
int version,
string correction,
int maxSideSize,
string fgColor,
string bgColor
)
Parameters
- code
- Type: SystemString
Code to generate by the QR code - size
- Type: SystemInt32
Image size, image is rendered with recommended resolution for the QR code - encoding
- Type: SystemString
Encoding, possible options (B - Byte, AN - Alphanumeric, N - Numeric) - version
- Type: SystemInt32
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: SystemString
Correction type, possible options (L, M, Q, H) - maxSideSize
- Type: SystemInt32
Maximum size of the code in pixels, the code will be resized if larger than this size - fgColor
- Type: SystemString
Foreground color - bgColor
- Type: SystemString
Background color
Return Value
Type:
StringSee Also