Method CreateImageDictionary
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
CreateImageDictionary(DxfDatabase)
Gets the dictionary of the images of a drawing, made where it has none, as AutoCAD's CreateImageDictionary
makes it: ACAD_IMAGE_DICT of the named object dictionary, owned by it, of entries kept (281 of 1). The one the drawing
has where it has one, where AutoCAD 2021 makes a new one in its place and erases the old with its definitions.
public static DxfDBDictionary CreateImageDictionary(DxfDatabase database)
Parameters
databaseDxfDatabaseThe drawing, of R14 (AC1014) or later.
Returns
- DxfDBDictionary
The dictionary.
Exceptions
- ArgumentNullException
Thrown when the drawing is null.
- InvalidOperationException
Thrown when the drawing is older than R14, which has no images, or has no named object dictionary.