public override void Deserialize(IntermediateFormatReader reader) { base.Deserialize(reader); reader.RegisterDeclaration(m_Declaration); while (reader.NextMember()) { switch (reader.CurrentMember.MemberName) { case MemberName.Location: m_location = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.Enable: m_enable = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.PinLabel: m_pinLabel = (PinLabel)reader.ReadRIFObject(); break; default: Global.Tracer.Assert(condition: false); break; } } }
internal override object PublishClone(AutomaticSubtotalContext context) { PinLabel pinLabel = (PinLabel)base.PublishClone(context); if (m_text != null) { pinLabel.m_text = (ExpressionInfo)m_text.PublishClone(context); } if (m_allowUpsideDown != null) { pinLabel.m_allowUpsideDown = (ExpressionInfo)m_allowUpsideDown.PublishClone(context); } if (m_distanceFromScale != null) { pinLabel.m_distanceFromScale = (ExpressionInfo)m_distanceFromScale.PublishClone(context); } if (m_fontAngle != null) { pinLabel.m_fontAngle = (ExpressionInfo)m_fontAngle.PublishClone(context); } if (m_placement != null) { pinLabel.m_placement = (ExpressionInfo)m_placement.PublishClone(context); } if (m_rotateLabel != null) { pinLabel.m_rotateLabel = (ExpressionInfo)m_rotateLabel.PublishClone(context); } if (m_useFontPercent != null) { pinLabel.m_useFontPercent = (ExpressionInfo)m_useFontPercent.PublishClone(context); } return(pinLabel); }
internal PinLabel(Microsoft.ReportingServices.ReportIntermediateFormat.PinLabel defObject, GaugePanel gaugePanel) { m_defObject = defObject; m_gaugePanel = gaugePanel; }