public float MeasureFullTextBoxHeight(AspNetCore.ReportingServices.Rendering.RichText.TextBox textBox, FlowContext flowContext, out float contentHeight)
 {
     if (this.m_bitsGraphics == null)
     {
         this.CreateGraphics();
     }
     return(AspNetCore.ReportingServices.Rendering.RichText.TextBox.MeasureFullHeight(textBox, this.m_bitsGraphics, this.FontCache, flowContext, out contentHeight));
 }
            public float MeasureTextBoxHeight(AspNetCore.ReportingServices.Rendering.RichText.TextBox textBox, FlowContext flowContext)
            {
                if (this.m_bitsGraphics == null)
                {
                    this.CreateGraphics();
                }
                float result = 0f;

                LineBreaker.Flow(textBox, this.m_bitsGraphics, this.FontCache, flowContext, false, out result);
                return(result);
            }