Table of Contents

Method ListFor

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

ListFor(DxfDatabase)

Gets the scales of the list for a drawing: 1:1, 1:2, 1:5, 1:10, 1:20, 1:50, 1:100, 1:200, 1:500 and 1:1000, then the drawing's own (its ACAD_SCALELIST) that are none of those, in the drawing's order; 1:25 of a drawing is listed after 1:1000, its 1:20 not again.

public static IReadOnlyList<CadPlotScale> ListFor(DxfDatabase database)

Parameters

database DxfDatabase

The drawing; null for the standard scales alone.

Returns

IReadOnlyList<CadPlotScale>

The scales, a new list.