Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

TerminalControl.GetControlSize Method

Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.Control.dll (version 7.0.9147)

GetControlSize(Int32, Int32)

Calculate a control size corresponding to the specified screen size.

Declaration
public Size GetControlSize(int columns, int rows)
Parameters
Type Name Description
Int32 columns

Desired horizontal size in character columns.

Int32 rows

Desired vertical size in character rows.

Returns
Type Description
Size

Control size.

In This Article
  • GetControlSize(Int32, Int32)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies