Options for reading a drawing database.

These options control how a drawing database is opened and processed.

interface AcDbOpenDatabaseOptions {
    fontLoader?: AcDbFontLoader;
    minimumChunkSize?: number;
    readOnly?: boolean;
}

Properties

fontLoader?: AcDbFontLoader

Loader used to load fonts used in the drawing database.

This loader will be used to load any fonts referenced by text entities in the drawing database.

minimumChunkSize?: number

The minimum number of items in one chunk.

If this value is greater than the total number of entities in the drawing database, the total number is used. This controls how the database processing is broken into chunks for better performance.

readOnly?: boolean

Opens the drawing database in read-only mode.

When true, the database will be opened in read-only mode, preventing any modifications to the database content.