ImageGear for C and C++ on Windows v19.4 - Updated
DGN
User Guide > File Formats and Compressions > File Formats > File Formats Reference > DGN
Full Name MicroStation Drawing
Format ID IG_FORMAT_DGN = 73
File Extension(s) *.dgn
Data Type Vector image
Data Encoding Binary
Color Profile Support No
Multi-Page Support No
Alpha Channel Support No
ImageGear 3D Image Support Yes
ImageGear Raster to Vector Format Conversion Support No
ImageGear Unicode Text Display Support No
ImageGear Platforms Support Win32, Win64, .NET, .NET64
To support the DGN format, attach the ImageGear CAD/Vector DGN Component to Core ImageGear. See Attaching Components.

ImageGear Supported Versions:

ImageGear Supported Features:

IG_FLTR_DETECTSUPPORT - autodetection

IG_FLTR_PAGEREADSUPPORT - single page file reading

ImageGear Read Support:

IG_COMPRESSION_NONE - Vector/CAD data

ImageGear Write Support:

No

ImageGear Filter Control Parameters:

Filter Control Parameter Type Default Value Available Values Description
BACKCOLOR AT_INT32 0 Any positive value This parameter sets view background color for image reading. If 0, black background color is set, otherwise white background color is set.
WIDTH AT_INT32 512 Any positive value Defines the width of the empty DIB associated with the image after loading. DIB height is calculated using the file's scale factors. See Working with Vector Images.

Comments:

DGN is a CAD file format used by Intergraph IGDS CAD software. It is not as commonly used as some other CAD file formats, but it has an open specification.

DGN Elements Supported for Reading

DGN Element

Supported Attributes

Imported into ImageGear as:

Shared cell definition

Cell name

IG_VECT_ENT_BLOCK entity.

Shared cell instance

Cell name

Transformation matrix

IG_VECT_ENT_BLOCK entity that appends the shared cell definition to its container and is made current.

Shape

Points

Color

Line type

IG_VECT_ENT_POLYLINE entity.

Cell header

Cell name

IG_VECT_ENT_BLOCK entity.

Line string

Points

Color

Line type

IG_VECT_ENT_POLYLINE entity.

Curve

Points

Color

Line type

IG_VECT_ENT_POLYLINE entity.

B-spline surface

Order

Rational flag

Poles

Knots

Rule lines

Color

Line type

IG_VECT_ENT_NURBS_SURFACE entity.

Text

Font

Alignment

Width

Height

Rotation

Text string

Color

IG_VECT_ENT_TEXT entity.

Arc

Start angle

End angle

X Radius

Y Radius

Rotation

Center

Color

Line type

IG_VECT_ENT_ARC entity.

Ellipse

X Radius

Y Radius

Rotation

Center

Color

Line type

IG_VECT_ENT_ELLIPSE entity.

Line

Start point

End point

Color

Line type

IG_VECT_ENT_EASYLINE entity.

Group data: Named View level

Origin

Matrix

Several HIG_VECT_VIEW objects.

Group data: Color table level

256 color values

Used as a palette internally.

Level symbology

 

HIG_VECT_LAYER object.