ViewportToScreen Method (IViewport)
In This Topic
Converts viewport coordinates (0 on top-left, relative to Viewport location) to screen coordinates (0 on top left, relative to the control location).
Syntax
'Declaration
Function ViewportToScreen( _
ByVal As Point _
) As Point
Point ViewportToScreen(
Point
)
Parameters
- pt
- The point to convert
Return Value
The point in screen coordinates
See Also