Table of Contents

Method SetOverrides

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

SetOverrides(int, int, int, DxfCellProperties)

Gives a content of a cell the overrides named of its own over its table style, as AutoCAD's SetOverrides(row, column, contentIndex, override) does (D33 o1 to o14, o20 to o28, and D28e v42): its flags made those named, the alignment (flag 1) and background (2 and 4) of the cell kept where it holds them, as AutoCAD keeps them whatever is named. One named it does not hold is given the value AutoCAD gives it: the alignment its row shows, the header's middle centre (170 5) of AutoCAD's Standard; a background of none (63 0, 283 1); the colour by block (64 0); the text height of its content's own format, 0.18 (140 0.18), not the 4.5 the cell showed; a text style of none, its flag alone; and its kind of value (DataType or DataFormat, the flag 0x40000), its flag alone. The colour, text style, height and kind of value not named are taken away, their groups and flags, so that the cell takes them from its table style; the others named, as its margins or its turn, write nothing. Qty of flags 262 144 given TextHeight is written 91 32 and 140 0.18; Mark of 170 5, GH_TXT and 3.5 given Invalid keeps its alignment alone, 91 1. The block AutoCAD drew the table with is not drawn anew.

public void SetOverrides(int row, int column, int contentIndex, DxfCellProperties overrides)

Parameters

row int

The row, from nought.

column int

The column, from nought.

contentIndex int

The content, nought.

overrides DxfCellProperties

The overrides the content has of its own.

Exceptions

ArgumentOutOfRangeException

Thrown when the cell is not one of the table's, or the content is not nought.

InvalidOperationException

Thrown when the table is erased.