Show / Hide Table of Contents

Interface ICellSurfaceResize

Adds a method to support resizing a surface.

Namespace: SadConsole
Assembly: SadConsole.dll
Syntax
public interface ICellSurfaceResize

Methods

Resize(int, int, bool)

Resizes the surface and view to the specified width and height.

Declaration
void Resize(int width, int height, bool clear)
Parameters
Type Name Description
int width

The width of the surface and view.

int height

The height of the surface and view.

bool clear

When true, indicates each cell should be reset to the default values.

Resize(int, int, int, int, bool)

Resizes the surface to the specified width and height.

Declaration
void Resize(int viewWidth, int viewHeight, int bufferWidth, int bufferHeight, bool clear)
Parameters
Type Name Description
int viewWidth

The viewable width of the surface.

int viewHeight

The viewable height of the surface.

int bufferWidth

The maximum width of the surface.

int bufferHeight

The maximum height of the surface.

bool clear

When true, indicates each cell should be reset to the default values.

Extension Methods

ExtensionsSystem.GetDebuggerDisplayValue(object)
In this article

Back to top

Back to top Generated by DocFX