IViewport Interface

Viewport coordinates conversion methods.
Public Interface IViewport
This language is not supported or no code example is available.
public interface IViewport
This language is not supported or no code example is available.
Name Description
Public property Location The coordinates of the upper-left corner of the viewport relative to the upper-left corner of its container.
Top
Methods
 
Name Description
Public method GetViewFrame()
Public method ScreenToViewport(Point) Converts viewport layout screen coordinates to viewport coordinates.
Public method ViewportToCameraScreen(Point) Converts viewport coordinates (0 on top-left, relative to Viewport location) to camera screen coordinates (0 con the control bottom-left corner).
Public method ViewportToScreen(Point) Converts viewport coordinates (0 on top-left, relative to Viewport location) to screen coordinates (0 on top left, relative to the control location).
Top
Remarks
 
For internal use only.

.NET Framework

Supported in: 4.8

In this article

Definition