Table of Contents

Constructor DxfTypedValue

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

DxfTypedValue(int, string)

Initializes a group of a code and the value it is written with, for extended data and the header, as AutoCAD's TypedValue(typeCode, value): new DxfTypedValue(1000, "B-12") or new DxfTypedValue(70, "4").

public DxfTypedValue(int typeCode, string value)

Parameters

typeCode int

The group code, from -5 to 1071 as the DXF reference numbers them.

value string

The value as it is to be written; a number in the digits it is to be written with.

Exceptions

ArgumentNullException

Thrown when the value is null.

ArgumentOutOfRangeException

Thrown when the code is not one of DXF's.

ArgumentException

Thrown when the value has a line break in it, which would end its line.