Table of Contents

Method Resize

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Resize(double, double)

Changes the size of the canvas, keeping the centre of the view where it is.

public void Resize(double width, double height)

Parameters

width double

The new width in pixels.

height double

The new height in pixels.