Table of Contents

Method ViewportToScreenInPixels

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

ViewportToScreenInPixels()

Converts the Viewport to screen coordinates in pixels.

public Rectangle ViewportToScreenInPixels()

Returns

Rectangle

The screen coordinates of the Viewport in pixels.

Remarks

This method accounts for the terminal's cell resolution and the viewport's size, returning the exact pixel dimensions and position required for fully cover the viewport.