IViewport.ViewportToScreen Method

Converts viewport coordinates (0 on top-left, relative to Viewport location) to screen coordinates (0 on top left, relative to the control location).
Function ViewportToScreen( _ 
ByVal pt As Point
) As Point
This language is not supported or no code example is available.
Point ViewportToScreen( 
Point pt 
)
This language is not supported or no code example is available.

Parameters

pt
Point

The point to convert

Return Value

Point

The point in screen coordinates

.NET Framework

Supported in: 4.8

In this article

Definition