UserFormPointToLogical Method Example

NOTE: The UserFormPointsToLogical Method Example applies to both Enhanced and Logical Coordinates.

The following example converts the Top, Left coordinates from 30, 50 in "UserForm Point" coordinates to logical units or postscript points for the Picture TestPicture.

Dim dTop As Double

Dim dLeft As Double

dTop = 30

dLeft = 50

TestPicture.UserFormPointToLogical dTop, dLeft