二维码的详细编码规则 this.myRotate = Rotates.Rotate0; this.myQRRotate = 0f; this.myQRBackGroundFileName = ""; this.JanPreChar = new string[11]; this.JanPatternLeftOdd = new string[11]; this.JanPatternLeftEven = new string[11]; this.JanPatternRightEven = new string[11]; this.lFormatFirstX = new byte[] { 0, 1, 2, 3, 4, 5, 7, 8, 8, 8, 8, 8, 8, 8, 8 }; this.lFormatFirstY = new byte[] { 8, 8, 8, 8, 8, 8, 8, 8, 7, 5, 4, 3, 2, 1, 0 }; this.lFormatSecondX = new byte[15]; this.lFormatSecondY = new byte[15]; this.lQRColorBigMark1 = Color.Black; this.lQRBackColorBigMark1 = Color.White; this.lQRColorBigMark2 = Color.Black; this.lQRBackColorBigMark2 = Color.White; this.lQRColorBigMark3 = Color.Black; this.lQRBackColorBigMark3 = Color.White; this.lQRColorSmallMark = Color.Black; this.lQRBackColorSmallMark = Color.White; this.lQRColorBigMarkBorder1 = Color.White; this.lQRColorBigMarkBorder2 = Color.White; this.lQRColorBigMarkBorder3 = Color.White; this.lQRColorTimingPattern = Color.Black; this.lQRBackColorTimingPattern = Color.White; this.lQRColorVersionInformation = Color.Black; this.lQRBackColorVersionInformation = Color.White; this.lQRColorFormatInformation = Color.Black; this.lQRBackColorFormatInformation = Color.White; this.lQRColorQuitZone = Color.White; this.lQRQuitZone = 4; this.myQRTextTypes = QRTextTypes.Automatic; this.Constract(); 太多咯,贴不了,看我百度空间吧 本文来源:https://www.wddqw.com/doc/32a89a6658fb770bf68a552d.html