LogicalToUserFormPoint Method Example

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

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

Dim dTop As Double

Dim dLeft As Double

dTop = 30

dLeft = 50

TestPicture.LogicalToUserFormPoint dTop, dLeft