Table of Contents

Method MinimumColumnWidth

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

MinimumColumnWidth(DxfTable, int)

Gets the least width a column of a table may be dragged to, as AutoCAD 2021's MinimumColumnWidth: its two horizontal margins and the tallest text height of its cells, or where a block cell starts in it that is not fitted to its cell, the width its block's extents fill at the cell's scale and turn with the two margins, if that is more. AutoCAD's Standard of margins 1.5 and a title of 6 gives 9, and a block 30 wide 33 (63 at scale 2, 31.28427 turned 45 degrees); a block merged across columns asks the column it starts in alone. The words of an attribute definition in the block are in its extents where the drawing's fonts find them (FontSearchPath).

public static double MinimumColumnWidth(DxfTable table, int column)

Parameters

table DxfTable

The table.

column int

The column, from nought.

Returns

double

The width.