TerminalControl.GetControlSize Method
Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.Control.dll (version 7.0.9119)
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. |