ConvertToOriginalCoordinates Method Example
ConvertToOriginalCoordinates is a Run mode method. The following example runs a command button click event, and converts the hardcoded Width and Height values to Logical Coordinates.
Private Sub CommandButton5_Click()
LineChart1.Width = Me.ConvertToOriginalCoordinates(500,True)
End sub
Private Sub CommandButton6_Click()
LineChart1.Height = Me.ConvertToOriginalCoordinates(300,False)
End sub
NOTE: For more information on Enhanced Coordinates, refer to the Picture Coordinate Systems topic in the Creating Pictures e-book.