PercentageToLogical Method Example

The following example converts the Top, Left, Height and Width coordinates from 30, 30, 100, 150 in percentage of screen space available to postscript points or logical units for the Picture TestPicture.

Dim dTop As Double

Dim dLeft As Double

Dim dHeight As Double

Dim dWidth As Double

dTop = 30

dLeft = 30

dHeight = 100

dWidth = 150

TestPicture.PercentageToLogical dTop, dLeft, dHeight, dWidth