internal override object PublishClone(AutomaticSubtotalContext context) { CapImage capImage = (CapImage)base.PublishClone(context); if (m_hueColor != null) { capImage.m_hueColor = (ExpressionInfo)m_hueColor.PublishClone(context); } if (m_offsetX != null) { capImage.m_offsetX = (ExpressionInfo)m_offsetX.PublishClone(context); } if (m_offsetY != null) { capImage.m_offsetY = (ExpressionInfo)m_offsetY.PublishClone(context); } return(capImage); }
public override void Deserialize(IntermediateFormatReader reader) { base.Deserialize(reader); reader.RegisterDeclaration(m_Declaration); while (reader.NextMember()) { switch (reader.CurrentMember.MemberName) { case MemberName.CapImage: m_capImage = (CapImage)reader.ReadRIFObject(); break; case MemberName.OnTop: m_onTop = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.Reflection: m_reflection = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.CapStyle: m_capStyle = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.Hidden: m_hidden = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.Width: m_width = (ExpressionInfo)reader.ReadRIFObject(); break; default: Global.Tracer.Assert(condition: false); break; } } }
internal CapImage(Microsoft.ReportingServices.ReportIntermediateFormat.CapImage defObject, GaugePanel gaugePanel) : base(defObject, gaugePanel) { m_defObject = defObject; m_gaugePanel = gaugePanel; }