public override object PublishClone(AutomaticSubtotalContext context)
        {
            CapImage capImage = (CapImage)base.PublishClone(context);

            if (this.m_hueColor != null)
            {
                capImage.m_hueColor = (ExpressionInfo)this.m_hueColor.PublishClone(context);
            }
            if (this.m_offsetX != null)
            {
                capImage.m_offsetX = (ExpressionInfo)this.m_offsetX.PublishClone(context);
            }
            if (this.m_offsetY != null)
            {
                capImage.m_offsetY = (ExpressionInfo)this.m_offsetY.PublishClone(context);
            }
            return(capImage);
        }
Beispiel #2
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(PointerCap.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.CapImage:
                    this.m_capImage = (CapImage)reader.ReadRIFObject();
                    break;

                case MemberName.OnTop:
                    this.m_onTop = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Reflection:
                    this.m_reflection = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.CapStyle:
                    this.m_capStyle = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Hidden:
                    this.m_hidden = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Width:
                    this.m_width = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Beispiel #3
0
 public CapImage(AspNetCore.ReportingServices.ReportIntermediateFormat.CapImage defObject, GaugePanel gaugePanel)
     : base(defObject, gaugePanel)
 {
     base.m_defObject  = defObject;
     base.m_gaugePanel = gaugePanel;
 }