Dim tSize As System.Drawing.SizeF = e.Graphics.MeasureString(label1.text, label1.font)
MsgBox(tSize.Height)
' that'll measure your label text height
try:
(ctrl1.height - ctrl2.height) / 2
|
Results 1 to 4 of 4
Thread: [2005] AutoSize PropertyHybrid View
|
Click Here to Expand Forum to Full Width |