Skip to content

ICellSurfaceResize Interface

Adds a method to support resizing a surface.

C#
public interface ICellSurfaceResize

Resizes the surface to the specified width and height. This can destroy the original backing array.

C#
void Resize(int viewWidth, int viewHeight, int totalWidth, int totalHeight, bool clear)

viewWidth int
The viewable width of the surface.

viewHeight int
The viewable height of the surface.

totalWidth int
The maximum width of the surface.

totalHeight int
The maximum height of the surface.

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

Resizes the surface and view to the specified width and height. This can destroy the original backing array.

C#
void Resize(int width, int height, bool clear)

width int
The width of the surface and view.

height int
The height of the surface and view.

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