Class ScreenSize
An immutable class that represents the size of the terminal screen.
Inherited Members
Namespace: Attachmate.Verastream.HostIntegrator.ScriptAPI
Assembly: Attachmate.Verastream.HostIntegrator.ScriptAPI.dll
Syntax
[Serializable]
public class ScreenSize
Constructors
ScreenSize(int, int)
Constructs a ScreenSize object from a height and width.
Declaration
public ScreenSize(int height, int width)
Parameters
Type | Name | Description |
---|---|---|
int | height | height of the terminal screen in characters |
int | width | width of the terminal screen in characters |
Properties
Height
Gets the height of the terminal screen.
Declaration
public virtual int Height { get; }
Property Value
Type | Description |
---|---|
int | height of the terminal screen in characters |
Width
Gets the width of the terminal screen.
Declaration
public virtual int Width { get; }
Property Value
Type | Description |
---|---|
int | width of the terminal screen in characters |
Methods
ToString()
return a string representation of this ScreenSize.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | a string representation of this ScreenSize. |