PercentageToPixel 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 pixels 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.PercentageToPixel dTop, dLeft, dHeight, dWidth