Class DwgObjectInfo
- Namespace
- DwgIO.Model
- Assembly
- DwgIO.dll
Inventory of one record in the AcDb:AcDbObjects stream:
framing and identity only; the record body is decoded separately.
public sealed record DwgObjectInfo : IEquatable<DwgObjectInfo>Inheritance
Implements
Inherited Members
Properties
BitsLength
Length of the bit-level payload from DwgIO.Model.DwgObjectInfo.BitsStart to the record CRC.
public required int BitsLength { get; init; }Property Value
BitsStart
Absolute stream offset where the bit-level payload begins (right after the size prefix).
public required int BitsStart { get; init; }Property Value
Handle
Absolute object handle as read from the record (the value of DwgIO.Model.DwgObjectInfo.StreamHandle).
public required ulong Handle { get; init; }Property Value
SizeBytes
Record payload size in bytes, as stored in the size prefix; excludes the record's own framing and CRC.
public required uint SizeBytes { get; init; }Property Value
StreamHandle
The record's own handle field, with its code and byte counter. It can differ from the handle map's entry for this offset; the walker does not cross-check them.
public required DwgHandle StreamHandle { get; init; }Property Value
StreamOffset
Offset of the record start (its size prefix) within the decompressed stream.
public required long StreamOffset { get; init; }Property Value
TypeCode
Object type code (e.g. LINE, LWPOLYLINE).
public required ushort TypeCode { get; init; }