ImageGear .NET - Updated
DGN
User Guide > File Formats and Compressions > File Formats > File Formats Reference > DGN
Full Name MicroStation Drawing (Drawing format used by MicroStation construction design software)
Format ID ImGearFormats.DGN
File Extension(s) *.dgn
Data Type Vector image
Data Encoding Binary
Multi-Page Support No
Alpha Channel Support No
Metadata Update Support No
ImageGear Platforms Support Win32, Win64, .NET, .NET64
DGN format requires ImageGear.Formats.DGN Namespace.

ImageGear Supported Versions

ImageGear Supported Features

ImageGear Read Support

ImageGear Write Support

No

ImageGear Filter Control Parameters

Filter Control Parameter Type Default Value Available Values Description
Backcolor Long 0 Any positive value This parameter is used to set background color. If nBackGroundColor=0, then a black background color is set, otherwise a white background color is set.
Width Long 512 Any positive value Defines the DIB width of the loaded image. The DIB height is calculated using the file's scale factors.

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

ImGearVectEntities.BLOCK entity.

Shared cell instance

Cell name

Transformation matrix

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

Shape

Points

Color

Line type

ImGearVectEntities.POLYLINE entity.

Cell header

Cell name

ImGearVectEntities.BLOCK entity.

Line string

Points

Color

Line type

ImGearVectEntities.POLYLINE entity.

Curve

Points

Color

Line type

ImGearVectEntities.POLYLINE entity.

B-spline surface

Order

Rational flag

Poles

Knots

Rule lines

Color

Line type

ImGearVectEntities.NURBS_SURFACE entity.

Text

Font

Alignment

Width

Height

Rotation

Text string

Color

ImGearVectEntities.TEXT entity.

Arc

Start angle

End angle

X Radius

Y Radius

Rotation

Center

Color

Line type

ImGearVectEntities.ARC entity.

Ellipse

X Radius

Y Radius

Rotation

Center

Color

Line type

ImGearVectEntities.ELLIPSE entity.

Line

Start point

End point

Color

Line type

ImGearVectEntities.EASYLINE entity.

Group data: Named View level

Origin

Matrix

Several ImGearVectorView objects.

Group data: Color table level

256 color values

Used as a palette internally.

Level symbology

 

ImGearVectorLayer object.