Esempio n. 1
0
 public static Image getQRCode(string content, Encoding encoding, string encode_mode, int code_scale, int code_version, string error_correction, Color background_color, Color fore_color, Image logo, int logo_width, int logo_height)
 {
     QRCodeEncoder.ENCODE_MODE Mode = QRCodeConfig.getEncodeMode(encode_mode);
     QRCodeEncoder.ERROR_CORRECTION Correction = QRCodeConfig.getErrorCorrection(error_correction);
     return getQRCode(content, encoding, Mode, code_scale, code_version, Correction, background_color, fore_color, logo, logo_width, logo_height);
 }
Esempio n. 2
0
 public static Image getQRCode(string content, QRCodeConfig config)
 {
     return getQRCode(content, config.encoding, config.encode_mode, config.code_scale, config.code_version, config.error_correction, config.background_color, config.fore_color, config.logo, config.logo_width, config.logo_height);
 }