Table of Contents

Class CadPlotScale

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

A scale of the Scale list of the Plot dialog: its name and the paper millimetres to the drawing units they stand for.

public sealed class CadPlotScale
Inheritance
CadPlotScale
Inherited Members

Constructors

CadPlotScale(string, double, double)

Makes a scale.

Properties

DrawingUnits

Gets the units of the drawing they stand for: 20 for 1:20.

Name

Gets the name shown, as "1:20".

PaperUnits

Gets the millimetres of the paper: 1 for 1:20.

Methods

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.

ToString()