请帮助我
我需要将文字输出到PIC1的中央
却发现总是超出了边界
下面的代码,我总是找不到错误的原因,,,请帮助
*************************************
Pic1.ScaleMode = 3
Pic1.FontSize = 72
tmidx = (Pic1.Width / 2) - (Pic1.TextWidth("asd") / 2)
tmidy = (Pic1.Height / 2) - (Pic1.TextHeight("asd") / 2)
Pic1.CurrentX = tmidx
Pic1.CurrentY = tmidy
Pic1.Print "asd"