Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

10eaf75e 5ec2 f9a3 569a 5d5e35d65dcf

haplokuon edited this page May 6, 2023 · 1 revision

Value Property

netDxf 3.0.0 Library

Gets the header variable stored value.

Definition

Namespace: netDxf.Header
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public Object Value { get; set; }

VB

Public Property Value As Object
	Get
	Set

C++

public:
property Object^ Value {
	Object^ get ();
	void set (Object^ value);
}

F#

member Value : Object with get, set

Property Value

Object

Remarks

It is very important to match the group code with its corresponding value type, check the DXF documentation for details about what group code correspond to its associated type. For example, typical groups codes are 70, 40, and 2 that correspond to short, double, and string value types, respectively.
If the header value is a Vector3 use the group code 30, if it is a Vector2 use group code 20, when the variable is written to the DXF the codes 10, 20, and 30 will be added as necessary.

See Also

Reference

HeaderVariable Class
netDxf.Header Namespace

Clone this wiki locally