Table of Contents

Method TryGetObject

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

TryGetObject(string, out DxfDBObject)

Gets the object of a handle, as GetObject(string) finds it; false, with null, where the drawing has none of the handle, the handle is not hexadecimal, or the object is erased.

public bool TryGetObject(string handle, out DxfDBObject value)

Parameters

handle string

The handle, hexadecimal.

value DxfDBObject

The object; null where there is none.

Returns

bool

Whether there is one.

Exceptions

ArgumentNullException

Thrown when the handle is null.