Table of Contents

Method SetBorders

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

SetBorders(CadDocument, string, DxfCellRange, DxfGridLineType, bool)

Draws or hides lines of a range of cells, as the border buttons do: All borders, Outside borders, Inside borders, the bottom, left, top or right, or none (AllGridLines hidden).

public static CadEditResult SetBorders(CadDocument document, string handle, DxfCellRange range, DxfGridLineType lines, bool visible)

Parameters

document CadDocument

The document.

handle string

The table's handle.

range DxfCellRange

The cells.

lines DxfGridLineType

The lines of the range, one or more of the six.

visible bool

Whether they are drawn.

Returns

CadEditResult

What came of it.