protected override void UpdateRulerPosition(RulerPosition position) { if (position == RulerPosition.Left) { rulerPostionControl = new LeftRulerManager(this); } else { rulerPostionControl = new TopRulerManager(this); } }
/// <summary> /// Constructor /// </summary> /// <param name="position"></param> public Ruler(RulerPosition position, ReportPage reportPage) { this.position = position; this.reportPage = reportPage; }