You are here: Start » AVL.NET » Function Reference » System » Interoperability » AVL.LoadImage_FromDxf

AVL.LoadImage_FromDxf

Loads data from a DXF file as an image.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void LoadImage_FromDxf
(
	string inDxfFile,
	float inScale,
	AvlNet.Pixel inBackgroundColor,
	out AvlNet.Point2D outOrigin,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inDxfFilestring
inScalefloat<0.0f, INF>10.0fScale (pixels per millimeter). Default value: 10.0f.
inBackgroundColorAvlNet.Pixel
outOriginAvlNet.Point2DLocation of the origin from DXF on 'outImage'.
outImageAvlNet.ImageOutput image.

Remarks

Partial Support

This filter offers only a partial support of DXF files. Notably, Polyline and MText objects will have to be converted to 2D Polyline, Line or Text objects for them to be displayed. Also, SHX files are not supported.

Function Overrides

See also