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