Table of Contents

Method Redraw

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Redraw(DxfDimension)

Draws the picture of a dimension anew from its points and the variables it reads now (its overrides, else its style's), as the DIM commands make it, and writes the measurement into it. A rotated dimension of (0, 0) to (100, 0) with the line through (100, 20) gets the lines, arrows and words "100" in its own block.

public static bool Redraw(DxfDimension dimension)

Parameters

dimension DxfDimension

The dimension, in a drawing, with a block of its own (the one it was made with).

Returns

bool

True when the picture was drawn; false, and nothing changed, for a kind that has no picture here or a block that is not its own.

Exceptions

ArgumentNullException

Thrown when dimension is null.