| | |
| | | dispText = this.Text; |
| | | if (!string.IsNullOrEmpty(this.TextFormat)) |
| | | { |
| | | dispText = string.Format(this.TextFormat,dispText); |
| | | dispText = string.Format(this.TextFormat, dispText); |
| | | } |
| | | break; |
| | | case eTextType.Numeric: |
| | |
| | | /// <param name="coordinate"></param> |
| | | public void DrawInfo(Graphics g, ImageInfoCoordinate coordinate) |
| | | { |
| | | var dispText= this.DisplayText; |
| | | var dispText = this.DisplayText; |
| | | if (string.IsNullOrEmpty(dispText)) |
| | | return; |
| | | var points = new PointF[] { coordinate.AfterLeftTop, coordinate.AfterRightTop, coordinate.AfterRightBottom, coordinate.AfterLeftBottom }; |
| | |
| | | public void DrawInfo2(Graphics g, ImageInfoCoordinate coordinate) |
| | | { |
| | | var dispText = this.Text; |
| | | if (dispText== null) |
| | | if (dispText == null) |
| | | dispText = ""; |
| | | var points = new PointF[] { coordinate.AfterLeftTop, coordinate.AfterRightTop, coordinate.AfterRightBottom, coordinate.AfterLeftBottom }; |
| | | if (this.TextBoxBorderVisible) |
| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 绘制高亮外观 |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | } |