ConvertToEnhancedCoordinates Method Example

ConvertToEnhancedCoordinates is a Run mode method. The following example uses a command button click event, and converts the hardcoded Width and Height values in to Enhanced Coordinates (postscript points).

Private Sub CommandButton5_Click()

LineChart1.Width = Me.ConvertToEnhancedCoordinates(57.9,True)

End sub

Private Sub CommandButton6_Click()

LineChart1.Height = Me.ConvertToEnhancedCoordinates(34.9,False)

End sub

NOTE: For more information on Enhanced Coordinates, refer to the Picture Coordinate Systems topic in the Creating Pictures e-book.