示例#1
0
        internal override void Serialize(FastReport.Utils.FRWriter writer, string prefix, BarcodeBase diff)
        {
            base.Serialize(writer, prefix, diff);
            BarcodeAztec c = diff as BarcodeAztec;

            if (c == null || ErrorCorrectionPercent != c.ErrorCorrectionPercent)
            {
                writer.WriteInt(prefix + "ErrorCorrection", ErrorCorrectionPercent);
            }
        }
        internal override void Serialize(FastReport.Utils.FRWriter writer, string prefix, BarcodeBase diff)
        {
            base.Serialize(writer, prefix, diff);
            BarcodeIntelligentMail c = diff as BarcodeIntelligentMail;

            if (c == null || QuietZone != c.QuietZone)
            {
                writer.WriteBool(prefix + "QuietZone", QuietZone);
            }
        }
示例#3
0
        internal override void Serialize(FastReport.Utils.FRWriter writer, string prefix, BarcodeBase diff)
        {
            base.Serialize(writer, prefix, diff);
            BarcodeQR c = diff as BarcodeQR;

            if (c == null || ErrorCorrection != c.ErrorCorrection)
            {
                writer.WriteValue(prefix + "ErrorCorrection", ErrorCorrection);
            }
            if (c == null || Encoding != c.Encoding)
            {
                writer.WriteValue(prefix + "Encoding", Encoding);
            }
            if (c == null || QuietZone != c.QuietZone)
            {
                writer.WriteBool(prefix + "QuietZone", QuietZone);
            }
        }