Table of Contents

Method SetGridLineWeight

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

SetGridLineWeight(int, int, DxfGridLineType, DxfLineWeight)

Sets the lineweight of lines of a cell, as AutoCAD's SetGridLineWeight(row, column, gridLineType, lineWeight): the cell's own of each edge the lines name (top 279, right 275, bottom 276, left 278), its flag (0x400 to 0x2000) set, as SetGridColor(int, int, DxfGridLineType, DxfColor) sets a colour.

public void SetGridLineWeight(int row, int column, DxfGridLineType gridLineType, DxfLineWeight lineWeight)

Parameters

row int

The row, from nought.

column int

The column, from nought.

gridLineType DxfGridLineType

The lines, one or more of the cell's four.

lineWeight DxfLineWeight

The lineweight: one of AutoCAD's widths, BYLAYER, BYBLOCK or the default.

Exceptions

ArgumentOutOfRangeException

Thrown when the cell is not one of the table's, the lines hold a flag none of DxfGridLineType has, or the lineweight is none DXF writes.

ArgumentException

Thrown when the lines name none of the cell's four.

InvalidOperationException

Thrown when the table is erased.

SetGridLineWeight(DxfLineWeight, DxfGridLineType, DxfRowType)

Sets the lineweight of lines of the rows of kinds, as AutoCAD's SetGridLineWeight(lineWeight, borders, rows): the table's own (274 to 279), its flag set in 95, as SetGridColor(DxfColor, DxfGridLineType, DxfRowType) sets a colour.

public void SetGridLineWeight(DxfLineWeight lineWeight, DxfGridLineType borders, DxfRowType rows)

Parameters

lineWeight DxfLineWeight

The lineweight: one of AutoCAD's widths, BYLAYER, BYBLOCK or the default.

borders DxfGridLineType

The lines, one or more of the six.

rows DxfRowType

The rows, one or more of the three kinds.

Exceptions

ArgumentOutOfRangeException

Thrown when the lines or the rows are none or hold a flag none of their kind has, or the lineweight is none DXF writes.

InvalidOperationException

Thrown when the table is erased.