如何求窗体的物理尺寸?
如何求窗体的物理尺寸,长多少mm,宽多少mm?
Private Sub Form_Load() Debug.Print Form1.Width / Screen.TwipsPerPixelX / 567 Debug.Print Form1.Height / Screen.TwipsPerPixelY / 567 Debug.Print Form1.Width * Screen.TwipsPerPixelX / 567 Debug.Print Form1.Height * Screen.TwipsPerPixelY / 567 Debug.Print Form1.Width / 567 Debug.Print Form1.Height / 567 End Sub
[此贴子已经被作者于2022-9-2 13:17编辑过]
[此贴子已经被作者于2022-9-2 18:59编辑过]
[此贴子已经被作者于2022-9-2 18:16编辑过]