Table of Contents

Method GetBinaryDataForKey

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetBinaryDataForKey(string)

Gets the bytes the object keeps under a key, as AutoCAD's GetBinaryDataForKey: those of the XRECORD of that name in its extension dictionary, its groups 310 one after another.

public byte[] GetBinaryDataForKey(string key)

Parameters

key string

The name, letters of either case the same.

Returns

byte[]

The bytes; null where the object has no extension dictionary, no entry of the name, or one that is not an XRECORD.

Exceptions

ArgumentNullException

Thrown when the key is null.