Ejemplo n.º 1
0
        /// <inheritdoc/>
        public override void Assign(BarcodeBase source)
        {
            base.Assign(source);
            BarcodeQR src = source as BarcodeQR;

            ErrorCorrection = src.ErrorCorrection;
            Encoding        = src.Encoding;
            QuietZone       = src.QuietZone;
        }
Ejemplo n.º 2
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);
            }
        }