MonoReports.Core.ReportRenderer.BreakOffControlAtMostAtHeight C# (CSharp) Method

BreakOffControlAtMostAtHeight() public method

public BreakOffControlAtMostAtHeight ( Control control, double height ) : MonoReports.Model.Controls.Control[]
control MonoReports.Model.Controls.Control
height double
return MonoReports.Model.Controls.Control[]
        public Control[] BreakOffControlAtMostAtHeight(Control control, double height)
        {
            Control[] controls = new Control[2];

             Type controlType = control.GetType();
            if(renderersDictionary.ContainsKey(controlType)){
                var renderer = renderersDictionary[controlType] as IControlRenderer;
                 controls = renderer.BreakOffControlAtMostAtHeight(context,control,height);
            }

            return controls;
        }