Table of Contents

Class DwgFileHeader

Namespace
DwgIO.Model
Assembly
DwgIO.dll

The 128-byte prefix all DWG files share.

public sealed class DwgFileHeader

Inheritance

Inherited Members

Properties

Codepage

Bytes 0x13-0x14: DWG codepage.

public required ushort Codepage { get; init; }

Property Value

ushort

CodepageName

Codepage name for diagnostics (AutoCAD's own enumeration: 29 = ANSI_1251, 30 = ANSI_1252).

public string CodepageName { get; }

Property Value

string

MaintenanceVersion

Byte 0x0B: maintenance release version.

public required byte MaintenanceVersion { get; init; }

Property Value

byte

PreviewOffset

Bytes 0x0D-0x10: file offset of the preview image.

public required uint PreviewOffset { get; init; }

Property Value

uint

Version

Bytes 0x00-0x05: release identified by the version magic.

public required DwgVersionInfo Version { get; init; }

Property Value

DwgVersionInfo