Table of Contents

Method FromBox

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

FromBox(DisplayBox)

Makes the frame of a box that is not turned.

public static CadFrame FromBox(DisplayBox box)

Parameters

box DisplayBox

The box, not empty and above nought each way.

Returns

CadFrame

The frame.

Exceptions

ArgumentException

Thrown when the box is empty or has no width or no height.