| | |
| | | {
|
| | | if (real == true)
|
| | | {
|
| | | i_Width = Application.GetMinRealAverage(i_Width);
|
| | | i_Height = Application.GetMinRealAverage(i_Height);
|
| | | i_Width = this.GetPictrueRealSize(i_Width);
|
| | | i_Height = this.GetPictrueRealSize(i_Height);
|
| | | } |
| | | |
| | | this.Height = i_Height; |
| | |
| | | //Y轴重置
|
| | | this.Y = HdlControlLogic.Current.GetControlChidrenYaxis(this.Parent.Height, this.Height, alignment, Space);
|
| | | }
|
| | |
|
| | | /// <summary>
|
| | | /// 计算图片的真实高宽度
|
| | | /// </summary>
|
| | | /// <param name="i_size"></param>
|
| | | /// <returns></returns>
|
| | | public int GetPictrueRealSize(int i_size)
|
| | | {
|
| | | return HdlControlLogic.Current.GetPictrueRealSize(i_size);
|
| | | }
|
| | |
|
| | | #endregion
|
| | | }
|
| | | }
|