MonoReports.Core.ReportRenderer.BreakOffControlAtMostAtHeight C# (CSharp) 메소드

BreakOffControlAtMostAtHeight() 공개 메소드

public BreakOffControlAtMostAtHeight ( Control control, double height ) : MonoReports.Model.Controls.Control[]
control MonoReports.Model.Controls.Control
height double
리턴 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;
        }