Table of Contents

Method TryReadScale

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

TryReadScale(string, out double)

The paper length of one model unit a scale's name gives, 0.02 for 1:50; false for a name that is none.

public static bool TryReadScale(string name, out double scale)

Parameters

name string

The name, as 1:50, 2:1 or 1:37.5.

scale double

The scale.

Returns

bool

Whether the name was read.