Option Explicit
Private Declare Function GetSystemMetrics Lib "user32" (ByVal nIndex As Long) As Long
Const SM_CXSCREEN = 0
Const SM_CYSCREEN = 1
' 参数为画面对象
Public Sub undoautoscale(iPicture As Object)
Dim lXpix As Long
Dim lYpix As Long
Dim lOrigWidth As Long
Dim lOrigHeight As Long
Dim dblWidthAdj As Double
Dim dblHeightAdj As Double